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

how to submit a job using REXX by giving SYSIN ?


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Pavankumar.m
Warnings : 1

New User


Joined: 28 Nov 2010
Posts: 53
Location: Mumbai

PostPosted: Fri Aug 23, 2013 9:10 pm
Reply with quote

Hi,

Can anyone please suggest the on how to submit a job thru rexx, here i need to give input thru REX as given below.

Ex:
My job:-
--------
//job card
//STEP01 EXEC PGM=PGM1
//IN DD DSN=USERID.TASK.SRC(Name1),DISP=SHR
//OUT DD DSN=USERID.TASK.SRC.B(Name1),DISP=SHR
//SYSOUT DD SYSOUT=*
//INPUT DD *
XYZR
/*
---------
Here I need to submit this job from command prompt by providing 'XYZR' and Name1 as input, in background these two inputs placed in above job and it has
to run.
Command ===> XYZR Name1
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Aug 23, 2013 9:47 pm
Reply with quote

Hello,

Searching the clist & rexx part of the forum using REXX SUBMIT as the keywords will provide several topics - one of which is:

ibmmainframes.com/viewtopic.php?t=61194
Back to top
View user's profile Send private message
Pavankumar.m
Warnings : 1

New User


Joined: 28 Nov 2010
Posts: 53
Location: Mumbai

PostPosted: Sat Aug 24, 2013 5:37 pm
Reply with quote

Hi,

Thanks for your post, I am new to rexx, cold you please provide me rexx code for That.

Thanks,
Pavan
Back to top
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1788
Location: Bloomington, IL

PostPosted: Sat Aug 24, 2013 6:21 pm
Reply with quote

In the thread that Mr. Scherrer linked to, the Rexx script is provided.
Back to top
View user's profile Send private message
Ed Goodman

Active Member


Joined: 08 Jun 2011
Posts: 556
Location: USA

PostPosted: Mon Aug 26, 2013 6:26 pm
Reply with quote

Well then, I'm new to the internet, can you give me the code anyway?
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 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
No new posts run rexx code with jcl CLIST & REXX 15
No new posts Execute secondary panel of sdsf with ... CLIST & REXX 1
Search our Forums:

Back to Top