Author: mrdinesh
Posted: Wed May 03, 2017 12:48 pm (GMT 5.5)
Thanks Arun Raj, the sort card worked well for us.
Posted: Wed May 03, 2017 12:48 pm (GMT 5.5)
Arun Raj wrote: | ||||||
mrdinesh, The requirement is pretty much well explained in your example. Good job. What if all the entries for an application are 'WAITING'? What status do you want to see for that application in that case? Will that still be 'In-Progress' with start/end times as blanks? If yes, you could use something like this :
Assumption : Output RECFM=FB/LRECL=80 and the input to be in sorted order of App-Name, Start_Date_Time . Added the below lines to your test-input,
SORTOUT had:
This can be slightly tweaked if that is what you want to show in the output. EDIT : My bad, again kept the page open and missed Bill's response. |
Thanks Arun Raj, the sort card worked well for us.