View previous topic :: View next topic
|
Author |
Message |
Ganesh Kumar.J
New User
Joined: 06 Feb 2006 Posts: 4
|
|
|
|
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 |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
'U131009.REXX.C1' must be a PDS or PDS/E. |
|
Back to top |
|
|
Ganesh Kumar.J
New User
Joined: 06 Feb 2006 Posts: 4
|
|
|
|
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 |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
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 |
|
|
martin9
Active User
Joined: 01 Mar 2006 Posts: 290 Location: Basel, Switzerland
|
|
|
|
Is there on your library u131009.rexx.c1 a member rexx ??
if not you will get this error!
martin9 |
|
Back to top |
|
|
lukose_m
New User
Joined: 21 Mar 2006 Posts: 1 Location: Kuwait
|
|
|
|
//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 |
|
|
karasi Warnings : 1 New User
Joined: 17 Mar 2006 Posts: 8
|
|
|
|
HI COULD ANY ONE SEND ME THE LINK FROM WHERE I CAN GET THE BASIC OF CLIST AND REXX |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
Back to top |
|
|
martijn
New User
Joined: 09 Mar 2006 Posts: 14 Location: The Netherlands
|
|
|
|
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 |
|
|
|