Hello -

We have a input file as follows.  

********************************* Top of Data *************
.....0050425063|..4138|..12211|..   0|..   0|..   0|..   0|
.....0050996097|..4138|..12211|..   0|..   0|..   0|..   0|
.....0009077849|..4138|..12211|..00001.50|..000000001.50|..
.....0050761685|..4138|..12211|..00002.20|..000000013.20|..
.....0050124393|..4138|..12211|..   0|..   0|..   0|..   0|
.....0050997036|..4138|..12211|..   0|..   0|..   0|..   0|
.....0009646052|..4138|..12211|..00001.24|..000000041.21|..

The below fields remain the same for all the rows 
CompKey - 19 to 22 Position 
Patnum - 26 to 30 Position 

If header comes in to this file for whatever reason  we need to skip and then 
build this filename 


The  filename in a output dataset like as below.

Performdta_<Patnum>_<CompKey>_<yyyymmdd_hhmmss>.csv

o/p will be Performdta_12211_4138_20220620_192925.csv

Could someone let me know how we can do the same in dfsort ?


Regards
Ron T

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to