Page 1 of 1

Using XREF in FileAID Batch

PostPosted: Thu Sep 16, 2010 2:00 pm
by LotharLochkarte
Hi,

I would like to know if it is possible to use information from the XREF-Layout in the MOVE-parameter for example.

Is it possible to use something like this:

$$DD01 COPY IF=(5,EQ,C'MYUSERID'),
MOVE=(MEMBER_NAME_FROM_XREF_LAYOUT,C'NEW VALUE OF MEMBER_NAME')

This would have several benefits, for example if the XREF-layout changes, I only have to specify the new XREF layout, but I don't need to update all the "to-locations".

Thanks.

Re: Using XREF in FileAID Batch

PostPosted: Thu Sep 16, 2010 4:27 pm
by Robert Sample
Have you read the File Aid/MVS Batch Reference Manual chapter 4.33 on the LAYOUT parameter and its associated DD name?