View previous topic :: View next topic
|
Author |
Message |
pnr kishore
New User
Joined: 29 May 2008 Posts: 15 Location: CHENNAI
|
|
|
|
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 |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
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 |
|
|
|