hi,
Using File-Aid in batch mode, I want to copy the files . and also some records needs to be skipped.
I am not sure on how to specify the matching string starting location for Vriable Block files. Please help me.
thanks
COPY & DROP ON Variable Block File
- dick scherrer
- Global moderator
- Posts: 6268
- Joined: Sat Jun 09, 2007 8:58 am
Re: COPY & DROP ON Variable Block File
Hello,
Hopefully, the starting position to compare is the same in each record. . .
Suggest you post a few sample input records and the output you want when this input is processed.
Mention the recfm(s) and lrecl(s) of the input and output files (the sample data you post could be different).
Hopefully, the starting position to compare is the same in each record. . .
Suggest you post a few sample input records and the output you want when this input is processed.
Mention the recfm(s) and lrecl(s) of the input and output files (the sample data you post could be different).
Hope this helps,
d.sch.
d.sch.
-
- Posts: 5
- Joined: Tue Apr 05, 2011 9:34 pm
- Skillset: Mainframe Test Tools
- Referer: internet search
Re: COPY & DROP ON Variable Block File
In Fileaid batch you would need to start with column 5 since columns 1-4 are the VLI (Variable Length Indicator) on Variable files.
for example:
$$DD01 DROP IF=(5,EQ,C'WHATEVER')
will DROP records that contain 'WHATEVER' in the first column of a Variable Length record file.
for example:
$$DD01 DROP IF=(5,EQ,C'WHATEVER')
will DROP records that contain 'WHATEVER' in the first column of a Variable Length record file.
-
- Similar Topics
- Replies
- Views
- Last post
-
- 14
- 8199
-
by indianrajput
View the latest post
Wed Nov 24, 2021 11:33 pm
-
- 5
- 3991
-
by sergeyken
View the latest post
Wed Jun 16, 2021 6:23 pm
-
- 1
- 4412
-
by TERMEN
View the latest post
Thu Mar 04, 2021 2:29 am
-
- 1
- 2122
-
by chaat
View the latest post
Wed Sep 22, 2021 11:40 pm
-
- 1
- 1234
-
by sergeyken
View the latest post
Tue Nov 08, 2022 7:22 pm