>> Could someone let me know how we can do the same in dfsort ? Ron,
You have been member on this board for number of years and yet your questions are incomplete with required details. So questions for you. >> If header comes in to this file for whatever reason we need to skip and >> then build this filename Q. How do you distinguish the header ? Any indicator? You don't even show a sample. >> The below fields remain the same for all the rows CompKey - 19 to 22 >> Position Patnum - 26 to 30 Position Q. You do realize that you did NOT use "Fixed Font or Courier New" font to retain the spacing in the sample data ? Q. What are the DCB properties of the input file and the output file? >> Performdta_<Patnum>_<CompKey>_<yyyymmdd_hhmmss>.csv Q. Where are you getting the yyyymmdd_hhmmss value? Your sample input does not have it. Is it the CURRENT DATE and CURRENT TIME ? >> o/p will be Performdta_12211_4138_20220620_192925.csv Q. Does your input always contain ONLY 1 Patnum+compkey combination ? What happens if you have another patnum+compkey combo ? Q. Is the patnum+compkey available on ALL records? Or does it vary? Thanks, Kolusu ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
