Page 2 of 2

Re: How to pass DSNs name to JCL

PostPosted: Thu Jan 05, 2012 1:11 am
by zhinghur
Well. Thank you everyone for your precious time. :)

Re: How to pass DSNs name to JCL

PostPosted: Thu Jan 05, 2012 1:37 am
by dick scherrer
Hello,

Well. Thank you everyone for your precious time.
Well, we weren't able to help so much.

If you decide this is something you want to pursue, re-think how you post the question and provide a much more clear explanation of what you "have" and what you "want". I still do not understand the 7th & 8th posts bit :?

As you have seen, there are people who would help, but we need something to work with. When some of us sense we are not making any progess, irony/humor gets inserted :)

d

Re: How to pass DSNs name to JCL

PostPosted: Thu Jan 05, 2012 3:32 am
by Pedro
how to code so that it can be sent to my JCL particular step, these two DSN name..


You need to study the rexx reference manual, as well as the TSO command reference manual.

1. Use SAY instruction to ask the user for your input
2. use PARSE PULL to get your input.
3. use various QUEUE statements to build a stream of JCL statements. Use a mix of constants as well as the variables that you pulled.
4. Use SUBMIT * to submit the JCL.

Re: How to pass DSNs name to JCL

PostPosted: Sun Jan 08, 2012 2:10 pm
by zhinghur
Thanks Pedro. I am looking into manuals.