die7nadal
Active User
Joined: 23 Mar 2005 Posts: 156
|
|
|
|
I am trying to Copy certain records that have 'INSERT' in any columns in a particular Record. I am using the File Aid Control card,
Code: |
$$DD01 COPY IF=(CO,EQ,C'INSERT') |
Obviously its not correct, its expecting the 'Position' in the 1st field instead of 'CO' Contains. I would appreciate if someone could give me the correct Syntax, I remember having done this previuosly. Also if there is a way of doing this using SYNCSORT, let me know. |
|
unicorn
New User
Joined: 29 May 2006 Posts: 3
|
|
|
|
The following SORT card should help you assuming your file length is 80.
SORT FIELDS=COPY
INCLUDE COND=(1,80,SS,EQ,C'INSERT') |
|