Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Return Codes.... trapping them

Status
Not open for further replies.

DK007

Programmer
Jul 10, 2003
9
AU
Hi All,

I hope this is the correct forum for this topic.

I have some CLISTS on a Fujitsu mainframe. One of them simply edits a file if PFD editor (same sort of deal as ISPF editor). The trouble is, if the file has too many records, the CLIST fails with a Return Code of 20.

I was under the impression that Return Code 20 was a generic RC - I am attempting to trap the actual condition that the file is too big for the defined environment, and process accordingly.

Any tips ??

Cheers.
 
It's been ages since I've written a real CLIST, but I seem to recall that CLIST return codes start around 300 and go to 999 (400=ENDFILE) with some substantial gaps. A RC=20 suggests to me that you got it from PFD itself. If so, you need to find out what PFD issues a '20' for in this instance. ISPF would have set ZERRSM and ZERRLM; does PFD do something similar?

Frank Clarke
Tampa Area REXX Programmers' Alliance
REXX Language Assn Listmaster
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top