How to pass DSNs name to JCL



IBM's Command List programming language & Restructured Extended Executor

Re: How to pass DSNs name to JCL

Postby zhinghur » Thu Jan 05, 2012 1:11 am

Well. Thank you everyone for your precious time. :)
zhinghur
 
Posts: 48
Joined: Sun Nov 20, 2011 12:25 pm
Has thanked: 0 time
Been thanked: 0 time

Re: How to pass DSNs name to JCL

Postby dick scherrer » Thu Jan 05, 2012 1:37 am

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
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: How to pass DSNs name to JCL

Postby Pedro » Thu Jan 05, 2012 3:32 am

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.
Pedro Vera
User avatar
Pedro
 
Posts: 686
Joined: Thu Jul 31, 2008 9:59 pm
Location: Silicon Valley
Has thanked: 0 time
Been thanked: 53 times

Re: How to pass DSNs name to JCL

Postby zhinghur » Sun Jan 08, 2012 2:10 pm

Thanks Pedro. I am looking into manuals.
zhinghur
 
Posts: 48
Joined: Sun Nov 20, 2011 12:25 pm
Has thanked: 0 time
Been thanked: 0 time

Previous

Return to CLIST & REXX

 


  • Related topics
    Replies
    Views
    Last post