Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

S0C1 problem in PL/1 execution.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler
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    Post subject: S0C1 problem in PL/1 execution.
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: 788
Location: Chennai, India

PostPosted: Fri Feb 20, 2009 12:18 pm    Post subject:
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

Active Member


Joined: 08 May 2006
Posts: 995
Location: Dublin, Ireland / Edinburgh, Scotland

PostPosted: Fri Feb 20, 2009 2:31 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Problem commiting to DB2 from IMS MPP Ole Soerensen IMS DB/DC 2 Wed Jul 26, 2017 5:19 pm
No new posts Strings with double quotes having pro... raja Arumugam All Other Mainframe Topics 11 Thu Mar 30, 2017 10:34 am
No new posts Problem reading GTF trace output danik56 ABENDS & Debugging 7 Thu Mar 16, 2017 1:02 pm
No new posts ROUNDED Problem with COMPUTE statement shalem COBOL Programming 11 Thu Feb 09, 2017 8:16 pm
No new posts SYMNAMES problem jacobdng DFSORT/ICETOOL 7 Thu Dec 22, 2016 7:47 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us