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

Running a compiled REXX program


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
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
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

Moderator Emeritus


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

PostPosted: Fri Sep 25, 2009 7:43 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts Compile Several JCL JOB Through one r... CLIST & REXX 4
No new posts Using API Gateway from CICS program CICS 0
No new posts Running REXX through JOB CLIST & REXX 13
No new posts Error to read log with rexx CLIST & REXX 11
No new posts isfline didnt work in rexx at z/OS ve... CLIST & REXX 7
Search our Forums:

Back to Top