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: 785
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: 991
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 SYMNAMES problem jacobdng DFSORT/ICETOOL 7 Thu Dec 22, 2016 7:47 am
No new posts Problem in writing Output file vickey_dw COBOL Programming 5 Mon Nov 14, 2016 11:14 pm
No new posts Problem in Running Query via JCL vickey_dw DB2 3 Tue Oct 18, 2016 11:11 pm
No new posts DB2 Streaming Batch Processing Problem Manshadi DB2 4 Sat Sep 24, 2016 12:14 pm
No new posts Problem with GETMAIN command amitc23 CICS 6 Thu Sep 01, 2016 1:01 pm


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