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
This topic is locked: you cannot edit posts or make replies. GDG gen check using REXX raghuraman123 CLIST & REXX 6 Wed Apr 18, 2018 9:18 pm
No new posts How do you attach a DB2 plan to a CIC... John Poulakos DB2 0 Wed Apr 18, 2018 1:49 am
No new posts VSAM file NOT Found error while proce... SumaReva CICS 5 Wed Apr 11, 2018 9:54 pm
No new posts Mantis Program Compiled? luis carlos CICS 2 Sat Apr 07, 2018 8:59 pm
No new posts Undefined Report Program socker_dad COBOL Programming 2 Fri Mar 30, 2018 1:45 am

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