View previous topic :: View next topic
|
Author |
Message |
rashmi.ranjan75
New User
Joined: 20 Feb 2006 Posts: 34
|
|
|
|
Hi,
I want to use same vsam ksds file for batch as well as cics processes. This file will actaully keep a seq no which will be updated by every process. So we need to maintain the data integrity also.
could you please help me to implement this logic.
Regards
Rashmi |
|
Back to top |
|
|
martin9
Active User
Joined: 01 Mar 2006 Posts: 290 Location: Basel, Switzerland
|
|
|
|
hy rashmi.ranjan75,
as long your vsam ksds is open in cics,
you cannot access it at the same time in batch.
stop online first, or close the file in cics...
i supposed you have a fct entry defined for this file...
martin9 |
|
Back to top |
|
|
sunish_sr
New User
Joined: 02 Jan 2006 Posts: 9 Location: Chennai
|
|
|
|
HI,
It is possible to use a KSDS for both Batch and Online.But KSDS file cannot be accessed in Batch when the file is opened in CICS region.So make sure that the file is closed in CICS region before you update the same file using Batch process.
Thanks & Regards
Sunish S |
|
Back to top |
|
|
killms
New User
Joined: 17 Sep 2003 Posts: 16
|
|
|
|
try coding your batch program as a cics program. IE. Try using call a program that is a cics program in which you can access the files. |
|
Back to top |
|
|
|