IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

TDQ to sysout


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
seoj

New User


Joined: 25 Jan 2006
Posts: 1

PostPosted: Tue Feb 14, 2006 5:25 pm
Reply with quote

Let's suppose, I have a dd statement in cics startup jcl,

//RDR1 DD SYSOUT=(,INRDR)
//RDR2 DD SYSOUT=Y

and I map these DDs with TDQ1, TDQ2 in my DCT.

then,

1. I try to put JCLs on RDR1 in the following way.

STEP 1) SET TDQUEUE(TDQ1) OPEN
STEP 2) WRITEQ TD QUEUE(TDQ1) FROM(SOMEJCL-BUFFER)
STEP 3) SET TDQUEUE(TDQ1) CLOSE

where SOMEJCL-BUFFER contains my whole JCL with /*EOF.

Then, I wonder when the JCL is actually put into JES. Is it after STEP2 or STEP3? (and, is it the output queue holding the JCL first and the internal reader next?) And, if I do not do SET TDQ OPEN/CLOSE, when is the JCL put into JES? perhaps after CICS RETURN?

2. I would like to print out some messages through RDR2 from CICS.

WRITEQ TD QUEUE(TDQ2) FROM(SOMELOG-BUFFER)

If I write TDQ using WRITEQ command, I wonder when the printer actually prints the my messages. Is it just after WRITEQ TD or after CICS RETURN? or any other possible command such as SET TDQUEUE, as above?

If I use SPOOLOPEN/WRITE/CLOSE, it is clear how the system behaves, but the IBM manual is vague on this TDQ extrapartition issue. If you think that I might have been looking at some wrong manuals, could you recommend any material on this issue?

Cheers,
s
Back to top
View user's profile Send private message
martin9

Active User


Joined: 01 Mar 2006
Posts: 290
Location: Basel, Switzerland

PostPosted: Wed Mar 01, 2006 5:12 pm
Reply with quote

just goto to url publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/library for more information...

you can define a printer in cics as a terminal and start
any transaction with this terminal, therefore use SEND
to give out any message on that printer...

martin9[/url]
Back to top
View user's profile Send private message
autobox

New User


Joined: 19 Aug 2005
Posts: 51

PostPosted: Fri Mar 31, 2006 8:05 am
Reply with quote

seoj wrote:
Let's suppose, I have a dd statement in cics startup jcl,

//RDR1 DD SYSOUT=(,INRDR)


Maybe you should try //RDR1 DD SYSOUT=(,INTRDR).
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts Copy few lines from SYSOUT of 10 mill... All Other Mainframe Topics 5
No new posts No sysout coming in spool JCL & VSAM 4
No new posts Control M features to check string in... Compuware & Other Tools 1
No new posts Find the total of this field in SYSOUT DFSORT/ICETOOL 3
No new posts CEEDUMP & Diagnostic message in S... COBOL Programming 4
Search our Forums:

Back to Top