View previous topic :: View next topic
|
Author |
Message |
samuel_Inba
New User
Joined: 03 Jan 2008 Posts: 53 Location: Chennai
|
|
|
|
Hi,
I have a FB file which is has a multi page report.Each report has a standard headers (company name & other details) which is about 8 lines.
The format of the file will be like this>
( Company name:Report name:etc.... ) for the first 8 lines
Actual report data ( from line num 9 thru 58)
then the second page of the report which again has the standard header as mentioned above (59 thru 66) thn the report continues with standard report length of (58 lines)...
Now I need to remove the eight header lines from the fB file which occurs repeatedly.
I cant use Omit with eight conditions with report heading.
Is there any way to use seqnum with restart & then use a single OMIT ?
Thanks |
|
Back to top |
|
|
samuel_Inba
New User
Joined: 03 Jan 2008 Posts: 53 Location: Chennai
|
|
|
|
//TOOLIN DD * *** CONSTANT CONTROL CARDS ***
SELECT FROM(I1) TO(O1) NODUPS ON(1,100,CH)
/*
//CTL1CNTL DD *
SORT FIELDS=COPY
SUM FIELDS=NONE
/*
I tried to use the above mentioned step and it gave me the required result...but the resultant report was sorted and it messed up the final report...Is there any way to copy without getting the output sorted ? |
|
Back to top |
|
|
samuel_Inba
New User
Joined: 03 Jan 2008 Posts: 53 Location: Chennai
|
|
|
|
Sorry - SUM FIELDS=NONE - Need not be there ( as NODUPS) Can take of the dups...
Thanks, |
|
Back to top |
|
|
scorp_rahul23
New User
Joined: 06 May 2008 Posts: 96 Location: Delhi
|
|
|
|
U can very well Easytreive for this. It will remove the header lines |
|
Back to top |
|
|
samuel_Inba
New User
Joined: 03 Jan 2008 Posts: 53 Location: Chennai
|
|
|
|
Sorry I am not supposed to use othr than JCL. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
Quote: |
I cant use Omit with eight conditions with report heading. |
why ?
Quote: |
Sorry I am not supposed to use other than JCL |
I guess that Your organization must be trained on the proper terminology
jcl does nothing, it just setups things in order for programs to be able to execute
any action on data must be carried on by a .... program
utilities are just that, programs
it' s very difficult to understand the reasons for such sick requirements |
|
Back to top |
|
|
Skolusu
Senior Member
Joined: 07 Dec 2007 Posts: 2205 Location: San Jose
|
|
Back to top |
|
|
|