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
 

 

Running a compiled REXX program

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
View previous topic :: :: View next topic  
Author Message
Siddharth4v

New User


Joined: 20 Aug 2008
Posts: 7
Location: India

PostPosted: Fri Sep 25, 2009 8:55 am    Post subject: Running a compiled REXX program
Reply with quote

Hi,
When I use the procedure REXXCLG, i'm able to compile, linkedit and execute the rexx program. But when I use REXXCL, which will only compile and linkedit, I'm able to compile and linkedit. But I'm not able to execute the program by submitting a separate JCL. I'm getting a S0C4 abend.

Compile JCL
//G12345J JOB
//S1 EXEC REXXCL
//LKED.SYSLMOD DD DSN=G12345.REXX.LOADLIB(MYPROG),DISP=SHR
//REXX.SYSIN DD DSN=G12345.REXX.PDS1(MYPROG),DISP=SHR

Run JCL
//G12345J JOB
//RUN1 EXEC PGM=MYPROG
//STEPLIB DD DSN=G12345.REXX.LOADLIB,DISP=SHR
//SYSTSPRT DD SYSOUT=*

Can someone help me out on this?
Back to top
View user's profile Send private message

dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Fri Sep 25, 2009 7:43 pm    Post subject:
Reply with quote

Hello,

Suggest you make sure that the stand-alone execution uses all of the proper libraries (as used in the LG execution).

If that is not the problem, suggest verifying the 2 processes use produce the same object and load modules.
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 -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Passing data from REXX to C programme... chong.zhou CLIST & REXX 3 Wed Jul 26, 2017 9:11 pm
No new posts REXX to get the all datasets name parasmalik20 CLIST & REXX 5 Tue Jul 18, 2017 9:10 pm
No new posts How system know which REXX to excute? jackzhang75 CLIST & REXX 14 Thu Jul 06, 2017 1:09 am
No new posts Writing a file using online program grvtomar PL/I & Assembler 3 Fri Jun 30, 2017 1:06 pm
No new posts REXX - Dynamic file Creation d_sarlie CLIST & REXX 7 Tue Jun 27, 2017 7:30 pm


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