Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 5 Wed Oct 04, 2017 6:54 am
No new posts Accessing CICS tran with map from JCL... navdeepaggarwal CICS 5 Tue Oct 03, 2017 6:15 pm
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 47 Fri Sep 29, 2017 1:08 pm
No new posts ejck thru rexx to multiple jobs insid... Susanta All Other Mainframe Topics 5 Tue Sep 19, 2017 1:39 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us