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

JCL RETURN CODE 2924


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:55 pm
Reply with quote

Hi, I've the 2924 (4 digits) JCL RC. Anybody help me to kwon how trasnlate this code to FTP return code (5 digits)?
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

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

when You hijacked the other thread with the same question did You care to look at the lat two replies...
looks like not, if You had You would have certainly noticed this sentence

Quote:
As I said earlier, the FTP subcommand code and reply code are concatenated together to form a 5-digit number. This number is then converted into a JCL return code by dividing by 4096 and taking the remainder. If you have 1954 as a JCL return code, you don't know how many times 4096 was removed from the FTP code to get 1954. If I had to guess, I'd say 26530 was the FTP code -- PASS command had some error generated.


as You should know the reminder/modulus operation is not reversible
so You will just have to give a few tries adding 4096 until You get a meaningful result ( FTP return code )

but this is just a repeat of what was already told!
Back to top
View user's profile Send private message
Pedro Bravo

New User


Joined: 30 Mar 2011
Posts: 3
Location: Mexico

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

thank you Enrico its
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 run rexx code with jcl CLIST & REXX 15
No new posts Compile rexx code with jcl CLIST & REXX 6
No new posts Return codes-Normal & Abnormal te... JCL & VSAM 7
No new posts REXX code to expand copybook in a cob... CLIST & REXX 2
No new posts VSAM return code 23 - for a Random read COBOL Programming 4
Search our Forums:

Back to Top