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

Tailoring of JCL from the Input Received by User


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
pnr kishore

New User


Joined: 29 May 2008
Posts: 15
Location: CHENNAI

PostPosted: Sat Sep 12, 2009 2:24 pm
Reply with quote

Hi,
Can Anybody help me on this,
My Requirement is to tailor the Model JCL after getting the input from the USer.

For Example
Code:

/*REXX*/
Say Enter the Subject
Pull Subject
A = Sub

taking the subject [A] i need to modify the 'Subject' in the JCL Control card
Code:

//SYSTSIN  DD *                           
000019 //SYSTSIN  DD *                           
000020 %MAILDS (UID@USTCAX00.KCC.COM) -           
000021 CC (UID@USTCAX00.KCC.COM) -               
000022 BCC (UID@USTCAX00.KCC.COM) -               
000023 FILE ('FILE1' 'FILE2' 'FILE3' 'FILE4' -   
000024       'FILE5') -                           
000025 MSGDD BODY -                               
000026 SUBJECT 'SUBJECT'                           


Finally if value of A is Test Example i need to have ouput as below
Code:

//SYSTSIN  DD *                           
%MAILDS (UID@USTCAX00.KCC.COM) -         
CC (UID@USTCAX00.KCC.COM) -               
BCC (UID@USTCAX00.KCC.COM) -             
FILE ('FILE1' 'FILE2' 'FILE3' 'FILE4' -                 
MSGDD BODY -                             
SUBJECT 'Test Example'                         
/*   


Thanks
Kishore P.N.R
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Sat Sep 12, 2009 3:01 pm
Reply with quote

At the top of the CLIST/REXX forum there is a "Sticky" for reference materials.

Go there, look at the ISPF link, and then the ISPF services manual and read all about file tailoring. It's easy enough.
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 -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts TRIM everything from input, output co... DFSORT/ICETOOL 1
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts PuTTY - "User is not a surrogate... IBM Tools 5
No new posts How to delete a user's alias from the... JCL & VSAM 11
No new posts force tablespace using LISTDEF input DB2 1
Search our Forums:

Back to Top