I have a file like below. The file is variable 256
Organization . . . : PS
Record format . . . : VB
Record length . . . : 256
Each record starts with a number and each record is separated by X'00'. You can see the first record started with 123456 and ended with X'00' (just
before second record 234567). List that last record 233333 eds with X'00' at the end. Apart from record separator we can see other dot (.) /period
within the file..they are X'0D', not X'00'
We get this file on daily basis from other application. Say now I have two
files, file01 and file02. Say the file02 is like below. That means in
file02, I have one extra record and one changed record. It is not guaranteed that the new records would be in the beginning. The order of file01 records may be changed in file02. Ok. In this case I need a output file with 000001 record and 123456 record (completely -not only changed text)
Here I am looking for different options from the group so that best can be
chosen. Any option with SYNCSORT?
I have a file like below. The file is varibale 256
Organization . . . : PS
Record format . . . : VB
Record length . . . : 256
what You are describing is NOT a file/dataset in mainframes terms
thats just a stream of bytes that the file transfer protocol
ftp or 3270 send/receive stored in vb format..
to give a reasonable meaning to Your request You have to proceed in two steps
1) deblock... call it any way You want...
Your stream by storing every chunk of bytes between two "null" chars as a well behaving os record...
2) process with ... sort ??? ... the well built datasets