On Thu, 5 Apr 2012 07:16:15 -0700, Mike Kovach <[email protected]> wrote:

>My specific question is this:
 
>I want to introduce multi tasking so that 5 copies of the program can update 
>the file concurrently. If we change STRNO(1) to 
>STRNO(5) on the CICS FCT Definition, will VSAM be smart enough to manage the 
>writes to the file so we don't break it and 
>the BATCH still gets the current information?

I am not a VSAM expert, nor a CICS expert (nor am I sure whether your program 
is using CICS functions to write to the data set, or using VSAM macros 
directly), but I would be concerned about serialization. 

>From DFSMS Using Data Sets at 
>http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/dgt2d4a0/2.7.2.1?SHELF=EZ2ZO213&DT=20110606092005
> or http://preview.tinyurl.com/76joxao you can read that for SHAREOPTIONS 4 
>you have the same serialization requirements as for SHAREOPTIONS 3, and for 
>SHAREOPTIONS 3 the book says
<quote>
This option requires that the user's program use ENQ/DEQ to maintain data 
integrity while sharing the data set, including the OPEN and CLOSE processing. 
User programs that ignore the write integrity guidelines can cause VSAM program 
checks, lost or inaccessible records, uncorrectable data set failures, and 
other unpredictable results. This option places responsibility on each user 
sharing the data set. 
</quote>

So unless there's something in CICS issuing appropriate ENQ/DEQ macros, I think 
you'll need to make some program changes.

-- 
Walt

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to