Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

CAnnot get SNDTCPSPLF to work from V5R3 to V5r1

Posted on 2008-06-11
11
Medium Priority
?
995 Views
Last Modified: 2013-12-06
When trying to send spooled files from one box runing V5R3 to another using V5R1, I get error msg cannot connect to remote system 128.200.0.1. Even though it works the other way around. Is sndTCPsplf backwardsly compatable?

Regards
James
0
Comment
Question by:ulsterweavers
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
  • 2
  • +1
11 Comments
 
LVL 13

Assisted Solution

by:_b_h
_b_h earned 300 total points
ID: 21764888
There should be no issue sending back to v5r1; I just tested it on my v5r3 and v5r1 systems. It could be the IP config.
Can you ping and telnet to the v5r1 system?
Please post the exact message that you are getting.

Barry
0
 
LVL 27

Assisted Solution

by:tliotta
tliotta earned 225 total points
ID: 21765950
AFAIK, Barry's right. There should be no issue with SNDTCPSPLF that relates to V5R1 vs. V5R3. The problem is in the relative TCP/IP configurations or somewhere along the route.

(Note that this also assumes that TCP/IP PTFs, etc., are in place. Obviously, if something's "broken"...?)

Tom
0
 

Author Comment

by:ulsterweavers
ID: 21766903
Hi Barry, Tom,
I can telnet and ping in both directions:I get the following error msg when trying SNDTCPSPLF:
 Message ID . . . . . . :   TCP3427       Severity . . . . . . . :   10        
 Message type . . . . . :   Diagnostic                                          
 Date sent  . . . . . . :   12/06/08      Time sent  . . . . . . :   08:29:07  
                                                                               
 Message . . . . :   Remote host system rejected the open attempt.              
 Cause . . . . . :   This may have occurred because the remote host does not    
   have ports available for use or does not support TELNET.                    
 Recovery  . . . :   Try the request again or contact the system administrator.

When I set up a remote queue (which is the main reason why I'm doing this) I get the following msg:
Message ID . . . . . . :   TCP2617       Severity . . . . . . . :   20      
Message type . . . . . :   Diagnostic                                      
Date sent  . . . . . . :   11/06/08      Time sent  . . . . . . :   17:10:48
                                                                           
Message . . . . :   TCP/IP connection to remote system 128.200.0.31 closed,
  reason code 3.                                                            
Cause . . . . . :   The TCP/IP connection to remote system 128.200.0.31 has
  been closed. The connection was closed for reason code 3.  Full connection
  details for the closed connection include:                                
    - local IP address is 128.200.94.4                                      
    - local port is 23                                                      
    - remote IP address is 128.200.0.31                                    
    - remote port is 1175                                                  

I have went through all the tcp settings in the boxes and can see no differences at all. Any ideas?

James
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 16

Assisted Solution

by:theo kouwenhoven
theo kouwenhoven earned 225 total points
ID: 21767479
Hi ulsterweavers,

I know that there are some backwards compatibility problems if the OS difer more then 1 release,
(That's why we avoid that within our company.)

But as far as I can remember, OS/400 was always 100% upwards compatible, so I would expect  that you at least should be able to send from V5R1 to  V5R3.

Regards,
Murph
0
 

Author Comment

by:ulsterweavers
ID: 21767495
Yes, I can send from V5R1 to V5R3. Just not the other way.

James
0
 
LVL 13

Assisted Solution

by:_b_h
_b_h earned 300 total points
ID: 21769681
I tested a remote outq from v5r3 to v5r1 to confirm that it does work.

I am not sure what parameters were used to create the outq, but check out these:
CRTOUTQ OUTQ(MYLIB/MYOUTQ)        
        RMTSYS(*INTNETADR)          
        RMTPRTQ('QGPL/QPRINT')      
        AUTOSTRWTR(1)              
        CNNTYPE(*IP)                
        TRANSFORM(*NO)              
        INTNETADR('<ipaddress')  

Post back!
Barry
0
 

Author Comment

by:ulsterweavers
ID: 21769793
Hi Barry,

Yes, thats what I used, but it doesn't work... cannot see whats up with it at all.
Its driving me nuts!

James
0
 
LVL 13

Accepted Solution

by:
_b_h earned 300 total points
ID: 21770832
Double-check that the outq has the correct IP address (sorry, have to ask)
Verify that the LPD server has been started on v5r1 box
Barry
0
 
LVL 16

Assisted Solution

by:theo kouwenhoven
theo kouwenhoven earned 225 total points
ID: 21771127
Hi James,
      
sorry for the "hi Hi ulsterweavers" :)

"Yes, I can send from V5R1 to V5R3. Just not the other way."

I'm affraid that this is one example of the incompatibility of 2 releases.

In this case, I think there are 2 options left.
- Upgrade to V5R2  (at least), what is the best solution but sometimes  for some reason hard to do
- Copy the spoolfile to a PF send it to your other system and create a new spoolfile (see Snippet)
 
Regards,
Murph
/* Create a example spool e.g. */
dspsyssts output(*print) 
 
/* Copy file to PF MyFile in MyLib*/
CPYSPLF FILE(QPDSPSTS) TOFILE(MyLib/MyFile) SPLNBR(*LAST) CTLCHAR(*FCFC) 
 
NOW: Get this file to the other system with ftp or whatever.
 
to get the file back as spoolfile
 
/* Prepare new destination for spoolfile */
OVRPRTF FILE(NEWSPLF) TOFILE(QPRINT)
PAGESIZE(66 132) LPI(6) OVRFLW(60) CTLCHAR(*FCFC)
PRTTXT('My Spool from other system')
 
/* Copy file to the Overridden file */
CPYF MyLib/MyFile NEWSPLF 
 
/* Done :) */

Open in new window

0
 
LVL 27

Assisted Solution

by:tliotta
tliotta earned 225 total points
ID: 21797525
Minor note... "Remote host system rejected the open attempt." That says that the LPR/LPD server hasn't been started on the remote system. Use STRTCPSVR *LPD command on the remote system to get it started.

I see that Barry has already mentioned this, but I don't see a response yet.

If the server app isn't running, version differences will be irrelevant.

Tom
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Occasionally Windows/Microsoft Updates will fail to update. We have found a code that will delete all temporary files and re-register all dll's related to Windows/Microsoft Updates! This works 99% of the time to get the updates working again! The…
Sometimes a user will call me frantically, explaining that something has gone wrong and they have tried everything (read - they have messed it up more and now need someone to clean up) and it still does no good, can I help them?!  Usually the standa…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

610 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question