IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

S0C1 problem in PL/1 execution.


IBM Mainframe Forums -> PL/I & Assembler
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
lmusku

New User


Joined: 19 Feb 2009
Posts: 1
Location: hyderabad

PostPosted: Fri Feb 20, 2009 11:21 am
Reply with quote

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
View user's profile Send private message
Gnanas N

Active Member


Joined: 06 Sep 2007
Posts: 792
Location: Chennai, India

PostPosted: Fri Feb 20, 2009 12:18 pm
Reply with quote

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
View user's profile Send private message
Garry Carroll

Senior Member


Joined: 08 May 2006
Posts: 1193
Location: Dublin, Ireland

PostPosted: Fri Feb 20, 2009 2:31 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> PL/I & Assembler

 


Similar Topics
Topic Forum Replies
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts Capturing Job Execution Information All Other Mainframe Topics 3
No new posts z/vm installation problem All Other Mainframe Topics 0
No new posts Job scheduling problem. JCL & VSAM 9
No new posts Problem with IFTHEN=(WHEN=GROUP,BEGIN... DFSORT/ICETOOL 5
Search our Forums:

Back to Top