View previous topic :: View next topic |
Author |
Message |
sunshine Beginner
Joined: 20 Sep 2004 Posts: 5 Topics: 4
|
Posted: Thu Sep 30, 2004 7:02 am Post subject: TDQ's |
|
|
hi,
i need to understand how exactly does a batch and cics program share data using a extrapartition TDQ. i have understood that the file is a VSAM/ESDS file, but i havent understood how the batch program would access it in the program.it would be very nice of u if u could send some sample code wrting to a TDQ and the other program reading the TDQ.
awaiting your reply.
thank you.
sunshine |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12376 Topics: 75 Location: San Jose
|
|
Back to top |
|
|
sunshine Beginner
Joined: 20 Sep 2004 Posts: 5 Topics: 4
|
Posted: Thu Sep 30, 2004 11:20 pm Post subject: TDQ in batch program |
|
|
thanx for the information on the TDQ. but i really wanted to know how the batch program would access the TDQ since its a normal VSAM file. i understand that the ddname id the DSCname we enter while creating the TDQ. BUt when we write
//ddname DD DSN = 'somefilename',disp=shr......
and this ddname id the assign to ddname in the cobol batch program
how does the batch application programmer know the name of the 'somefilename',since the TDQ was created with the id,dscname etc. does the system assign a name for the VSAM file.
awaiting a quick reply. thank you!!
sunshine |
|
Back to top |
|
|
Mike Chantrey Intermediate
Joined: 10 Sep 2003 Posts: 234 Topics: 1 Location: Wansford
|
Posted: Mon Oct 04, 2004 8:51 am Post subject: |
|
|
Quote: |
i need to understand how exactly does a batch and cics program share data using a extrapartition TDQ. i have understood that the file is a VSAM/ESDS file,
|
Extrapartition TDQs are not VSAM, they are QSAM files. This is clearly stated in the CICS resource definition guide.
The file name will be defined in the RDO TDQ definition's DSName parameter or possibly in a DD statement in the CICs startup JCL. It is not system generated. |
|
Back to top |
|
|
|
|