Page 1 of 1

PL/I Problem

PostPosted: Mon 27 May 2013, 21:32
by gary
Is anyone having a problem with PL/I Compile/Link/Go. JCL and Source that has worked in the past is now failing with a message
"Unable to load phase: IBM3TBY.

Source and JCL can be found in 'garyh.gp.source(hworld)', my general purpose testing program.

Thanks to anyone who can help be get around this problem.

Gary

Re: PL/I Problem

PostPosted: Mon 27 May 2013, 23:09
by steve-myers
I don't think you checked the messages.

IEW4000I FETCH FOR MODULE IBM3TBY FROM DDNAME STEPLIB FAILED BECAUSE INSUFFICIENT STORAGE WAS AVAILABLE.

Re: PL/I Problem

PostPosted: Mon 27 May 2013, 23:34
by prino
Try rerunning the compile step with REGION=0M

Re: PL/I Problem

PostPosted: Tue 28 May 2013, 00:03
by gary
Thanks to Steve and Prino for extra eyes. I did indeed miss that part of the message. I must have originally copied this JCL from somewhere else, since I normally use region=0m.

Thanks again for the quick and accurate diagnosis.

Gary

Re: PL/I Problem

PostPosted: Tue 28 May 2013, 22:57
by prino
I've updated the various PL/I procedures to include REGION=0M, so there is no longer any need for overrides.

For what it's worth, all of now invoke the compiler using this code:

Code: Select all
//PLI      EXEC PGM=IBMZPLI,
//             REGION=0M,
//             PARM=('+DD:PLISTD +DD:PLIUSER')
-  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -
//PLISTD   DD  DSN=SYSFAN.PROCLIB(PXEP39Z),
//             DISP=SHR
//PLIUSER  DD  DUMMY

By adding an override for PLIUSER, you can override the standard compiler options set in 'SYSFAN.PROCLIB(PXEP39Z)', with your own overrides, which may be required for programs using CICS and/or DB2, or where you want to loosen up the extremely strict (especially the "RULES" and "DEFAULT") standard options.