IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

FTP From MFRM to Windows: Check for the input file ...


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Pedro Bravo

New User


Joined: 30 Mar 2011
Posts: 3
Location: Mexico

PostPosted: Wed Mar 30, 2011 8:53 pm
Reply with quote

Hi, I saw the answer about 27426 (5 digits) return code. In other case I've the 2934 (4 digits) JCL RC. Can you help me to kwon how trasnlate this code to FTP return code (5 digits).

Thanks & regards
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Wed Mar 30, 2011 9:52 pm
Reply with quote

FTP generates a subcommand code of 2 digits and a reply code of 3 digits to create the 5-digit value. Since JCL is limited to a range of 0 to 4095 for step condition codes, the 5-digit code is treated modulo 4096 to create the step condition code. Hence 2934 could be 2934, 7030, 11126, .... If you know which command was being executed, you can find the subcommand code for it and that will tell you precisely which 5-digit code was generated. Most likely your job was doing a PUT (subcommand code 27) and got a 510 response from the FTP server (which is not on the standard list of reply codes, which jumps from 504 to 530). 27510 modulo 4096 is 2934.

And by the way, you should not be replying to a thread inactive for 2 1/2 years -- you should post your own question with its own subject line.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 2
No new posts TRIM everything from input, output co... DFSORT/ICETOOL 1
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
Search our Forums:

Back to Top