Hi,
I have a PS file of LRECL=80, RECFM=FB and BLKSIZE=8000.
It looks like this :
******* ********************************************************
00100 .......................Data............................
00200 .......................Data............................
00300 .......................Data............................
00400 Number of records is :
00500 .......................Data............................
00600 .......................Data............................
******* ********************************************************
I need to insert the record count at the end of the 4th line. This record count is in another PS file, with the same LRECL, BLKSIZE and RECFM as above.
******* *****************************
00100 0000011425
******* *****************************
So, the final output file should like something like :
******* ********************************************************
00100 .......................Data............................
00200 .......................Data............................
00300 .......................Data............................
00400 Number of records is : 0000011425
00500 .......................Data............................
00600 .......................Data............................
******* ********************************************************
Any idea how this can be done using a JCL ???