View previous topic :: View next topic
|
Author |
Message |
Sivagurunathan Jagadeesan
New User
Joined: 06 Mar 2007 Posts: 32 Location: India
|
|
|
|
Hi,
I am currently working on converting VSCOBOLII codes to eCOBOL standard.
I would like to know the difference between the VSAM File Status code 98 under VSCOBOLII(CMPR2 compiler) and eCOBOL(NOCMPR2 compiler).
Thanks,
Siva |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
as far I as I know, the 2 char file status codes have not changed.
but, since COB II, IBM has always suggested that for VSAM, that the second data area of the 'FILE STATUS IS' clause be used |
|
Back to top |
|
|
Sivagurunathan Jagadeesan
New User
Joined: 06 Mar 2007 Posts: 32 Location: India
|
|
|
|
Thanks for the response dbz, I couldn't get the second part of the reply 'that the second data area of the 'FILE STATUS IS' clause be used', can you clarify on this.
Regards,
Siva |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Check the manual, Siva ... VSAM files with FILE STATUS clause can have a second variable which contains details about VSAM errors. It's a group field of 3 2-byte binary values with the return, feedback, function codes in them. |
|
Back to top |
|
|
Sivagurunathan Jagadeesan
New User
Joined: 06 Mar 2007 Posts: 32 Location: India
|
|
|
|
Will do Robert, thanks for the pointer...
Regards,
Siva |
|
Back to top |
|
|
|