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: 4648
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: 4648
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: 288
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: 4648
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
This topic is locked: you cannot edit posts or make replies. Need help on If condition continuatio... ashok_uddaraju CLIST & REXX 4 Fri May 19, 2017 8:55 am
No new posts Running an REXX EXEC implicitly sho7hills CLIST & REXX 3 Thu Apr 20, 2017 8:14 am
No new posts Need help in REXX CALL program Raje1002 CLIST & REXX 5 Wed Apr 19, 2017 11:18 pm
No new posts REXX cdoe to purge a JOB from spool a... Sulabh Agrawal CLIST & REXX 11 Thu Mar 09, 2017 11:36 am
No new posts TSO or command line utility to genera... kishpra JCL & VSAM 3 Thu Mar 09, 2017 1:11 am


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