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

JCL Command for REXX


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Ganesh Kumar.J

New User


Joined: 06 Feb 2006
Posts: 4

PostPosted: Tue Mar 07, 2006 5:01 pm
Reply with quote

Hi,
Could any one help me "How to execute REXX program using JCL". I have tried the following code. But it shows an error "IRX0408E Exec member name must not be specified when exec load DD refers to a sequential data set".

Code:

//MYJOB JOB ,,NOTIFY=&SYSUID             
//STEP EXEC PGM=IKJEFT1A,DYNAMNBR=200     
//SYSEXEC DD DSN=U131009.REXX.C1,DISP=SHR
//SYSPRINT DD SYSOUT=*                   
//SYSTSPRT DD SYSOUT=*                   
//SYSTSIN DD *                           
    PROFILE PREFIX(U131009)               
    %REXX                                 
//                                         


Thanks
Ganesh kumar.J
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Tue Mar 07, 2006 6:48 pm
Reply with quote

'U131009.REXX.C1' must be a PDS or PDS/E.
Back to top
View user's profile Send private message
Ganesh Kumar.J

New User


Joined: 06 Feb 2006
Posts: 4

PostPosted: Tue Mar 07, 2006 7:29 pm
Reply with quote

Sorry to disturbing you. I have chnged the dataset into the PDS. But again it shows the same error. I can't understand what type error it is.
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Tue Mar 07, 2006 7:37 pm
Reply with quote

Post the entire output of the TSO LISTDS command for your 'U131009.REXX.C1' dataset:

Code:

TSO LISTDS 'U131009.REXX.C1' MEMBERS
Back to top
View user's profile Send private message
martin9

Active User


Joined: 01 Mar 2006
Posts: 290
Location: Basel, Switzerland

PostPosted: Thu Mar 09, 2006 7:03 pm
Reply with quote

Is there on your library u131009.rexx.c1 a member rexx ??
if not you will get this error!

martin9
Back to top
View user's profile Send private message
lukose_m

New User


Joined: 21 Mar 2006
Posts: 1
Location: Kuwait

PostPosted: Wed Mar 22, 2006 7:42 am
Reply with quote

//MYJOB JOB ,,NOTIFY=&SYSUID
//STEP1 EXEC PGM=IKJEFT01,DYNAMNBR=20
//SYSPROC DD DSN=mylib.CLIST,DISP=SHR
//SYSPRINT DD SYSOUT=*
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD *
TIMERC --------------------membername
/*


pls try this

shaji
Back to top
View user's profile Send private message
karasi
Warnings : 1

New User


Joined: 17 Mar 2006
Posts: 8

PostPosted: Wed Mar 22, 2006 1:39 pm
Reply with quote

HI COULD ANY ONE SEND ME THE LINK FROM WHERE I CAN GET THE BASIC OF CLIST AND REXX
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Wed Mar 22, 2006 5:02 pm
Reply with quote

z/OS V1R7.0 TSO/E REXX Reference

z/OS V1R7.0 TSO/E CLISTs

z/OS V1R7.0 TSO/E Command Reference

z/OS V1R7.0 ISPF Dialog Developer's Guide

z/OS V1R7.0 ISPF Edit and Edit Macros

z/OS V1R7.0 ISPF Services Guide

z/OS V1R2.0 TSO/E User's Guide specifically 3.4 Chapter 16. Executing Foreground Commands from a Background Job.
Back to top
View user's profile Send private message
martijn

New User


Joined: 09 Mar 2006
Posts: 14
Location: The Netherlands

PostPosted: Thu Mar 30, 2006 7:15 pm
Reply with quote

To get back to the original question (how to run REXX in a batch-job);

If I want to run the REXX located in 'MY.PRIVATE.LIB(EXAMPLE)', I run the following JCL:

Quote:

//REXX EXEC PGM=IKJEFT01,REGION=0M,PARM=EXAMPLE
//SYSEXEC DD DSN=MY.PRIVATE.LIB,DISP=SHR
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD DUMMY
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 RACF - Rebuild SETROPTS command which... All Other Mainframe Topics 3
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