View previous topic :: View next topic
|
Author |
Message |
mpawan Warnings : 2 New User
Joined: 03 Nov 2008 Posts: 42 Location: Pune
|
|
|
|
Hi,
can i have taken some inputs from the user using rexx code and can i pass these values to the JCL where some of the Symbolic parameters are defined. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Yes you can. Could you tell us a little more about the process involved.
REXX displays panel, user enters values, values used as ......
a) JCL parameters
b) Input data
c) something else
We are not always psychic, so need you to give us as much information as possible. |
|
Back to top |
|
|
mpawan Warnings : 2 New User
Joined: 03 Nov 2008 Posts: 42 Location: Pune
|
|
|
|
I my REXX code i am asking user to input data (Cycle date) after validating the data i want to invoke a PROC and that proc have some symbolic parameters.
//B905000 PROC JOB=B905000,
//* J1=B9050005,
// J2=B9050010,
// J3=B9050030,
//* J4=SASHOST,
// DATE01=YYDDD,
// DATE02=YYDDD,
// DATE03=YYDDD,
// DATE04=YYDDD,
and i want to invoke this PROC by replace that YYDDD parameter with the data which user has given. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Look at ISPF file tailoring services.
The manual, ISPF services, can be reached from the sticky in the REXX / TSO forum titled reference materials. |
|
Back to top |
|
|
deveshyahoo
New User
Joined: 28 Jan 2008 Posts: 10 Location: noida
|
|
|
|
when i had a similar requirement i took following approach:
1. take input from user.
2. store the user input into variables.
3. read the job to be submitted into a stack.
4. replce/add the variable value in the specfic lines where the parameter value needs to be added (i knew the line no. in stack).
5. write the stack to a new member.
6. submitt the new member.
7. delete the new member.
i dont know if this is the best way but it works.
try it and if you have something better then do let me know. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Quote: |
i dont know if this is the best way but it works.
try it and if you have something better then do let me know. |
An ISPF skeleton saves all ov the searching through line after line of JCL, and can substitute values conditionally, and do lots of other nice things too, such as include the contents of ISPF tables into the jobstream it generates.
Take a look through the manuals and find out what you are missing |
|
Back to top |
|
|
deveshyahoo
New User
Joined: 28 Jan 2008 Posts: 10 Location: noida
|
|
|
|
Quote: |
An ISPF skeleton saves all ov the searching through line after line of JCL, and can substitute values conditionally, and do lots of other nice things too, such as include the contents of ISPF tables into the jobstream it generates.
|
i think you are taking about ISREDIT stuff. i am a beginner in the technology. i have tried to go through a lot a manuals (ibm website... etc) for the ISREDIT functionality but could not get any stuff that can help me learn it. If you have some kind of ppt or tutorial taking it step by step then plz share. it will be a grt help.
Thanks in advance. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Quote: |
i think you are taking about ISREDIT stuff. |
NO, ISPF file tailoring, which is a completely different animal.
If you go to the sticky at the top of this forum - the one with the links to the manuals, you can read all about ISPF file tailoring which in a lot of cases is more flexible than ISREDIT functionality. |
|
Back to top |
|
|
|