All,
let us suppose that I have a dataset with XXXX records. Please provide me the JCL using which I can copy the data(XXXX records) in to another Dataset(same record length of source dataset and FIXED dataset) from the source dataset(FIXED dataset) with Header as " Processing date: <Todays date> Number of Records: XXXX "
For e.g.
Source Dataset:
********************************* Top of Data **********************************
12/01/2009 02:06:55 113 00.034 00.010 00.120
12/01/2009 02:21:56 148 00.036 00.010 00.120
12/01/2009 02:36:56 183 00.037 00.010 00.150
Destination dataset after copying should be:
********************************* Top of Data **********************************
Processing date: 12/01/2009 Number of Records: 3
12/01/2009 02:06:55 113 00.034 00.010 00.120
12/01/2009 02:21:56 148 00.036 00.010 00.120
12/01/2009 02:36:56 183 00.037 00.010 00.150
Thanks in advance.