View previous topic :: View next topic |
Author |
Message |
ReinerZ Beginner
Joined: 30 Nov 2006 Posts: 11 Topics: 4 Location: Germany
|
Posted: Fri Dec 22, 2006 8:05 am Post subject: Question on TSO ALLOC-Command |
|
|
Hi all,
I'm a beginner in MVS and TSO, but have worked for more than 15 years with VSE/VM. Because of a new job, I have to extend my knowledges to z/OS. My question is as follows:
I have coded a little Assembler-Program, which reads one or more members from a PDS(E)-JCL-Library. After reading, I tried to submit it (the JCL-Stmts.) to batch via the JES-INTRDR.
I'd like to execute my program in TSO-FOREGROUND. My problem is now to allocate the JES-INTRDR via the ALLOCATE-Command.
I know in Batch a DD-Statement for INTRDR looks like this:
//JESRDR DD SYSOUT=(*,INTRDR)
But I have serious problems to translate that to the ALLOCATE-Syntax.
Anyone who can help me?
Thanks in advance and greetings from Germany
Reiner |
|
Back to top |
|
|
Bill Dennis Advanced
Joined: 03 Dec 2002 Posts: 579 Topics: 1 Location: Iowa, USA
|
Posted: Fri Dec 22, 2006 8:53 am Post subject: |
|
|
We have CLISTs that do this: Code: | ALLOC FILE(SYSUT2) SYSOUT WRITER(INTRDR) |
but you could also use the SUBMIT command on the member: Code: | SUBMIT my.pds(member) |
_________________ Regards,
Bill Dennis
Disclaimer: My comments on this foorum are my own and do not represent the opinions or suggestions of any other person or business entity. |
|
Back to top |
|
|
ReinerZ Beginner
Joined: 30 Nov 2006 Posts: 11 Topics: 4 Location: Germany
|
Posted: Fri Dec 22, 2006 1:48 pm Post subject: |
|
|
Bill Dennis wrote: | We have CLISTs that do this: Code: | ALLOC FILE(SYSUT2) SYSOUT WRITER(INTRDR) |
but you could also use the SUBMIT command on the member: Code: | SUBMIT my.pds(member) |
| Bill,
thank you! It looks easy, but only if you know which parameters to code
Reiner |
|
Back to top |
|
|
|
|