MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Question on TSO ALLOC-Command

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF
View previous topic :: View next topic  
Author Message
ReinerZ
Beginner


Joined: 30 Nov 2006
Posts: 11
Topics: 4
Location: Germany

PostPosted: Fri Dec 22, 2006 8:05 am    Post subject: Question on TSO ALLOC-Command Reply with quote

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
View user's profile Send private message
Bill Dennis
Advanced


Joined: 03 Dec 2002
Posts: 579
Topics: 1
Location: Iowa, USA

PostPosted: Fri Dec 22, 2006 8:53 am    Post subject: Reply with quote

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
View user's profile Send private message
ReinerZ
Beginner


Joined: 30 Nov 2006
Posts: 11
Topics: 4
Location: Germany

PostPosted: Fri Dec 22, 2006 1:48 pm    Post subject: Reply with quote

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 Wink

Reiner
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group