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 Executing OO COBOL program invoking J... Virendra Shambharkar COBOL Programming 2 Tue Jan 10, 2017 6:37 pm
No new posts Need Suggestion on COBOL program vickey_dw COBOL Programming 5 Thu Jan 05, 2017 10:55 pm
This topic is locked: you cannot edit posts or make replies. Calling REXX code from ISPF panel sanchita dey TSO/ISPF 4 Mon Jan 02, 2017 5:13 pm
No new posts REXX DB2: Dynamic allocation of DB2.D... BHAS CLIST & REXX 3 Mon Dec 19, 2016 8:26 pm
No new posts find particular member name in PDS us... ravi243 CLIST & REXX 10 Mon Dec 19, 2016 6:44 pm


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