I have an input file of 50 containing.
I need to do the following
1) Move the characters/Numeric values before 123 to the output record
2) Convert 123 to COMP format and write it to the output record after 1).
3) And move the values after 123 tilll the end of file to the output record after 1) and 2).
I need to to do it with sort prgm.
Please help me out.
If you're not familiar with DFSORT and DFSORT's ICETOOL, I'd suggest reading through "z/OS DFSORT: Getting Started". It's an excellent tutorial, with lots of examples, that will show you how to use DFSORT, DFSORT's ICETOOL and DFSORT Symbols. You can access it online, along with all of the other DFSORT books, from:
BI is unsigned (e.g. X'FFFF' = 65535). FI is signed (e.g. X'FFFF' = -1).
For more details on the various formats supported by DFSORT, and how DFSORT formats relate to COBOL data types, see Appendix C of "z/OS DFSORT Application Programming Guide". You can access it, along with all of the other DFSORT books, from: