Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

JCL Command for REXX

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
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    Post subject: JCL Command for REXX
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

Moderator Team Head


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

PostPosted: Tue Mar 07, 2006 6:48 pm    Post subject: Re: JCL Command for REXX
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    Post subject:
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

Moderator Team Head


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

PostPosted: Tue Mar 07, 2006 7:37 pm    Post subject: Re: JCL Command for REXX
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    Post subject:
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    Post subject:
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    Post subject: ABOUT REXX AND CLIST
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

Moderator Team Head


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

PostPosted: Wed Mar 22, 2006 5:02 pm    Post subject: Re: JCL Command for REXX
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    Post subject:
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    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 REXX to get the all datasets name parasmalik20 CLIST & REXX 5 Tue Jul 18, 2017 9:10 pm
No new posts How system know which REXX to excute? jackzhang75 CLIST & REXX 14 Thu Jul 06, 2017 1:09 am
No new posts REXX - Dynamic file Creation d_sarlie CLIST & REXX 7 Tue Jun 27, 2017 7:30 pm
No new posts REXX WTO for console message bipinpeter CLIST & REXX 6 Tue Jun 27, 2017 3:56 pm
No new posts Convert CLIST to REXX cvnlynn CLIST & REXX 12 Tue Jun 27, 2017 2:06 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us