Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

cics tdq
This is actually a CICS question, not COBOL.  I know that this is not
the perfectly correct place to ask this, but I post this here since
this group seems to be the place that I can get answers on it.

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


Report this thread to moderator Post Follow-up to this message
Old Post
seoj
02-14-06 11:55 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Cobol archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 09:41 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.