View previous topic :: View next topic
|
Author |
Message |
Krishna Prasanth
New User
Joined: 16 Sep 2008 Posts: 4 Location: Hyderabad
|
|
|
|
hi ,
i have requirement such all my cobol pgm names are present in a ksds vsam file and my cobol pgm should read file sequentially and send a
new copy command to cics , such that my online pgm will be new copied.
why i am using ksds vsam file , the reason is the file will be allocated to cics . so cics can read only vsam files. |
|
Back to top |
|
|
Garry Carroll
Senior Member
Joined: 08 May 2006 Posts: 1193 Location: Dublin, Ireland
|
|
|
|
Quote: |
why i am using ksds vsam file , the reason is the file will be allocated to cics . so cics can read only vsam files. |
This is not the case. CICS can process non-VSAM files, for example PS.
Do you have to issue the NEWCOPY commands from within CICS? A suitably authorised batch program could issue CEMT commands to the CICS region.
Your program names are available in the (VSAM) DFHCSD dataset groups, duplicating them in another file adds an unnecessary complexity.
Have you researched the ways that commands can be issued?
Regards,
Garry. |
|
Back to top |
|
|
Earl Haigh
Active User
Joined: 25 Jul 2006 Posts: 475
|
|
Back to top |
|
|
|