Thilagam Palani New User Joined: 31 Oct 2014 Posts: 1 Location: India
hi, ca anyone guide me for the below issue
i have 2 input file
File1 : date file FB
File 2: data file VBA
i want to create o/p file with header date from date file, data and trailer
i have blow icetool,
TOOLIN DD *
COPY FROM(DATE) TO (TEMPFL1) USING HDR1
COPY FROM(DATA ) TO (TEMPFL1) USING DATA
COPY FROM(TEMPFL1) TO (OUT) USING(TRL1)
HDR1CNTL DD *
INREC FIELDS = (1,5,PD,TO=ZD,LENGTH=8)
DATACNTL DD *
TRL1CNTL DD *
I am getting error message saying invalid dataset attribute tempfl1 FB
expat Global Moderator Joined: 14 Mar 2007 Posts: 8652 Location: Back in jolly old England
I have inserted the code tags for you. Please learn quickly to use them yourself because it makes things much easier to read.
You need to convert the FB file to a VB file - there are just sooooo many examples on the forum, so have a play with the search facility on the forum.
Also, you will need to post the JCL and output from the failing run so we know exactly what is happening.
Bill Woodger DFSORT Moderator Joined: 09 Mar 2011 Posts: 7314
Just use SORT. Two steps. First create a symbol/SYMNAME from the date file. Tiny step, you won't have a chance to notice it running.
Second step, use symbol in HEADER1, use TRALIER1 for the "TRL".
Search the forum for examples of the date-to-symbol.
All times are GMT + 6 Hours