View previous topic :: View next topic
|
Author |
Message |
milind suman Warnings : 1 New User
Joined: 19 Aug 2009 Posts: 55 Location: Pune
|
|
|
|
Hello ,
I want to copy the TSQ data in a flat file , How can i do this in batch in TSO region .
Thanks. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8700 Location: Dubuque, Iowa, USA
|
|
|
|
When you say "TSQ", are you talking about a Temporary Storage Queue in a CICS region? |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
strickly speaking,
i would say that batch and tso region are mutually exclusive.
in other words, you can not do something in a tso region via batch. |
|
Back to top |
|
|
milind suman Warnings : 1 New User
Joined: 19 Aug 2009 Posts: 55 Location: Pune
|
|
|
|
yes I mean Temporary storage Que in CICS , is there any way to copy the TSQ data in tso without doing anything in cics ? |
|
Back to top |
|
|
Garry Carroll
Senior Member
Joined: 08 May 2006 Posts: 1205 Location: Dublin, Ireland
|
|
|
|
Since Temporary Storage is, by definition, temporary - why on earth would you want to do this? DFHTEMP is intended for internal use in the CICS environment and should not be interfered with in the manner suggested.
Garry. |
|
Back to top |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
Without a 3rd-Party product (and even that may not do the trick), there isn't an easy way to do this and at the very least (without a 3rd-Party product), would require an EXCI/ECI DPL interface to the target CICS region.
I'm thinking a REXX exec could be launched from ISPF screen 6 or native TSO and CALL an EXCI/DPL Client program, which would then link to the target region's Server program.
Or, this could also be accomplished directly from Batch, using a Client/DPL program linking to a Server program in the target region (same concept as outlined from ISPF/TSO).
But, these are just general ideas and would require significant tweaking and consideration.
HTH....
Mr. Bill |
|
Back to top |
|
|
Garry Carroll
Senior Member
Joined: 08 May 2006 Posts: 1205 Location: Dublin, Ireland
|
|
|
|
Bill O'Boyle wrote: |
Without a 3rd-Party product (and even that may not do the trick), there isn't an easy way to do this and at the very least (without a 3rd-Party product), would require an EXCI/ECI DPL interface to the target CICS region.
I'm thinking a REXX exec could be launched from ISPF screen 6 or native TSO and CALL an EXCI/DPL Client program, which would then link to the target region's Server program.
Or, this could also be accomplished directly from Batch, using a Client/DPL program linking to a Server program in the target region (same concept as outlined from ISPF/TSO).
But, these are just general ideas and would require significant tweaking and consideration.
HTH....
Mr. Bill |
Yes, but the OP was looking for a way without any change in CICS
Quote: |
yes I mean Temporary storage Que in CICS , is there any way to copy the TSQ data in tso without doing anything in cics ? |
Garry. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8700 Location: Dubuque, Iowa, USA
|
|
|
|
Quote: |
yes I mean Temporary storage Que in CICS , is there any way to copy the TSQ data in tso without doing anything in cics ? |
Your question can be answered simply: NO! |
|
Back to top |
|
|
milind suman Warnings : 1 New User
Joined: 19 Aug 2009 Posts: 55 Location: Pune
|
|
|
|
Thanks everybody for the reply . saved a lot of time in wasting time to search for something like this.
ok , so going conventionally I need to define a a file in FCT and new program in relevant table to read a tsq in CICS program or there could be a better time saver option . |
|
Back to top |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
If you use the EXCI/DPL method, you could "stack" the TSQ records in the commarea, passed from the EXCI program and subsequently addressed by the Server program.
When the Server program returns control to the Client (EXCI) program, then you can "pop" all these records from the commarea and write them to a QSAM file, no FCT entry required.
Note: IBM's recommended maximum commarea-length for EXCI/DPL is 32500.
Mr. Bill |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
have not used it myself,
but there are "rexx panels" and rexx scripts available in cics.
would not be supprised if there is a easy way to script a "que drainer". |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
Back to top |
|
|
Earl Haigh
Active User
Joined: 25 Jul 2006 Posts: 475
|
|
|
|
3rd part product BatchCICS-Connect (www.batchcics.com) provides ability to read and/or write TSQ's from batch. |
|
Back to top |
|
|
|