View previous topic :: View next topic
|
Author |
Message |
lmusku
New User
Joined: 19 Feb 2009 Posts: 1 Location: hyderabad
|
|
|
|
Hi,
I am trying to learn PL/1 we have PL/1 in our mainframe.
I am using the following JCL to execute the PL/1 program and getting S0C1 abend.
JCL:
//ZRSCR5 JOB 00ZR,'NAME',CLASS=T,MSGCLASS=5,NOTIFY=WBIK
//*
//STEP10 EXEC PGM=PL1MLRT
//STEPLIB DD DSN=DPNL.HH.LOADNCAL,
// DISP=SHR
//SYSPRINT DD SYSOUT=*
Program:
MYPRG:PROCEDURE OPTIONS(MAIN);
PUT SKIP LIST(0);
PUT PAGE LIST((70)'*');
PUT PAGE LINE(2) LIST('M LAXMA ');
END MYPRG;
Please help me in preparation of run JCL for PL/1 Program.
Thanks in advance.! |
|
Back to top |
|
|
Gnanas N
Active Member
Joined: 06 Sep 2007 Posts: 792 Location: Chennai, India
|
|
|
|
Quote: |
Please help me in preparation of run JCL for PL/1 Program. |
You will have standard JCL/PROC for Running PL/I program at your shop. Please check it with your peers or support.
What is the message and other info from JOB LOG for S0C1? |
|
Back to top |
|
|
Garry Carroll
Senior Member
Joined: 08 May 2006 Posts: 1193 Location: Dublin, Ireland
|
|
|
|
Quote: |
//STEPLIB DD DSN=DPNL.HH.LOADNCAL |
Just a guess... does the compile procedure you are using link the propgram with NCAL ? If so, the load module will not be executable. NCAL is usually used for sub-routines.
Garry. |
|
Back to top |
|
|
|