I am not sure why it works, we did not do any extensive testing but I do know that we haven't had any problems for a long time. We use ICEGENER to do the copying.
Caveat: we rarely have more than 2 compiles running at the same time (small shop), so your mileage may vary. On Tue, Dec 1, 2009 at 14:04, Frank Swarbrick <[email protected]> wrote: > A later step in the same job? Does this solve the issue because the copy > uses different serialization than the actual creating of the DBRM member? > > I'll give it a shot. Thanks, > Frank > -- > > Frank Swarbrick > Applications Architect - Mainframe Applications Development > FirstBank Data Corporation - Lakewood, CO USA > P: 303-235-1403 > > > On 12/1/2009 at 11:58 AM, in message > <[email protected]>, Don Leahy > <[email protected]> wrote: >> This is a perennial problem. >> >> Our local solution was to allocate DBRMLIB to a temporary data set. >> >> //DBRMLIB DD DSN=&DBRMLB(&MR),DISP=(,PASS), >> // UNIT=SYSDA,SPACE=(TRK,(15,5,5)), >> // DCB=(RECFM=FB,LRECL=80,BLKSIZE=6160) >> >> A later step copies the DBRM to a permanent library. >> >> On Tue, Dec 1, 2009 at 13:25, Frank Swarbrick >> <[email protected]> wrote: >>> For our conversion from VSE to z/OS we have a "mass compile" process that >> runs many compiles at the same time. This has been fine up until when we >> added "DB2 compiles" in to the mix. Now we are getting things like the >> following for every second or third compile: >>> 11.02.22 JOB05118 IEC143I >> 213-30,IFG0194D,EXAM02,COB,DBRMLIB,9220,DB2001,SYS3.DSN910.DBRMLIB.DATA(EXAM >> 02) >>> >>> "30 >>> An attempt was made to open a partitioned data set (PDS) for >> OUTPUT,DISP=SHR. The PDS is already open in this condition, and a DCB is >> already open for output to the data set. The data set might be on the same >> system or on another system that is sharing the volume. Access was not >> serialized before the attempt to open the data set." >>> >>> I am guessing that "job 2" is trying to add a member to >> SYS3.DSN910.DBRMLIB.DATA at the same time that "job 1" is trying to do the >> same thing (though a different member). >>> >>> Obviously one solution is to single thread the compiles. But I'd rather not >> if I don't have to. Any other solutions? If I changed to DISP=OLD would >> this eliminate the issue by making job 2 wait until job 1 is done with the >> PDS? >>> >>> Why does the link-edit step seem to not have a similar issue? Is it just >> that the link-edit step completes so quickly that only one job has the PDS >> open at one time? Or does the link-edit (binder; whatever) have some special >> stuff that allows it do deal with this situation? >>> >>> Thanks, >>> >>> Frank >>> >>> >>> -- >>> >>> Frank Swarbrick >>> Applications Architect - Mainframe Applications Development >>> FirstBank Data Corporation - Lakewood, CO USA >>> P: 303-235-1403 >>> >>> >>>>>> >>> >>> The information contained in this electronic communication and any document >> attached hereto or transmitted herewith is confidential and intended for the >> exclusive use of the individual or entity named above. If the reader of this >> message is not the intended recipient or the employee or agent responsible >> for delivering it to the intended recipient, you are hereby notified that any >> examination, use, dissemination, distribution or copying of this >> communication or any part thereof is strictly prohibited. If you have >> received this communication in error, please immediately notify the sender by >> reply e-mail and destroy this communication. Thank you. >>> >>> ---------------------------------------------------------------------- >>> For IBM-MAIN subscribe / signoff / archive access instructions, >>> send email to [email protected] with the message: GET IBM-MAIN INFO >>> Search the archives at http://bama.ua.edu/archives/ibm-main.html >>> >> >> ---------------------------------------------------------------------- >> For IBM-MAIN subscribe / signoff / archive access instructions, >> send email to [email protected] with the message: GET IBM-MAIN INFO >> Search the archives at http://bama.ua.edu/archives/ibm-main.html > >>>> > > The information contained in this electronic communication and any document > attached hereto or transmitted herewith is confidential and intended for the > exclusive use of the individual or entity named above. If the reader of this > message is not the intended recipient or the employee or agent responsible > for delivering it to the intended recipient, you are hereby notified that any > examination, use, dissemination, distribution or copying of this > communication or any part thereof is strictly prohibited. If you have > received this communication in error, please immediately notify the sender by > reply e-mail and destroy this communication. Thank you. > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: GET IBM-MAIN INFO > Search the archives at http://bama.ua.edu/archives/ibm-main.html > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

