SKIP last two records while copying - IEBGENER



Ask queries about other IBM Tools like Tivoli, COBTEST, Fault Analyzer, z/OS File Manager, Workload Simulator, APA, SCLM, Merge & Migration Tools etc...

SKIP last two records while copying - IEBGENER

Postby nkulkarni » Fri Oct 16, 2015 11:44 pm

Hi,

I have an input file and I need to copy all but last two records to output file, the number of records in the file change everyday.

I'm using IEBGENER as it is a free utility and not licensed, I know we can skip the records before copying using REPRO (SKIP) command.

Could anyone please inform if there is anyway in IEBGENER to skip the last two records of the file irrespective of the number of records (as it change everyday) in the file?
NK
nkulkarni
 
Posts: 52
Joined: Mon Sep 28, 2015 2:28 pm
Has thanked: 17 times
Been thanked: 0 time

Re: SKIP last two records while copying - IEBGENER

Postby BillyBoyo » Sat Oct 17, 2015 1:49 am

If you have DFSORT, you can use ICETOOL's SUBSET operator.

I'm not sure if it works if you have SYNCTOOL, you'd have to try, as there is no SYNCTOOL documentation.

These users thanked the author BillyBoyo for the post:
nkulkarni (Sat Oct 17, 2015 4:26 am)
BillyBoyo
Global moderator
 
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 265 times

Re: SKIP last two records while copying - IEBGENER

Postby nkulkarni » Sat Oct 17, 2015 4:25 am

Hi BillyBoyo,

Thank you for your response.

I'll see if I can use ICETOOL, I'll check the manuals
NK
nkulkarni
 
Posts: 52
Joined: Mon Sep 28, 2015 2:28 pm
Has thanked: 17 times
Been thanked: 0 time


Return to Other IBM Tools

 


  • Related topics
    Replies
    Views
    Last post