View previous topic :: View next topic
|
Author |
Message |
Pedro Bravo
New User
Joined: 30 Mar 2011 Posts: 3 Location: Mexico
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
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 |
|
|
Pedro Bravo
New User
Joined: 30 Mar 2011 Posts: 3 Location: Mexico
|
|
|
|
thank you Enrico its |
|
Back to top |
|
|
|