IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search Log in to check your private messages Log in
 

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: 19251
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:

Use [URL] BBCode for Links
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

 

Search our Forum:

Similar Topics
Topic Forum Replies
No new posts Calling Assembler from REXX PL/I & Assembler 5
No new posts REXX/CLIST tool for BCSR and EDSR CLIST & REXX 2
No new posts Calling Rexx program from Cobol CLIST & REXX 12
No new posts REXX script to beautify XML CLIST & REXX 1
No new posts COBOL reading from SYSIN COBOL Programming 1

Back to Top