SORT

Converting Numeric fields to Different formats Using SORT

  There are might be instances when you need to convert the internal storage of a numeric filed , DFSORT allows you to accomplish this outside your program , lets look at the various options available.   Converting Binary to Displayable Zoned Decimal If you want a binary value to made readable , you can do so […]

Reformatting Records Using OUTREC – Part 1

    Though OUTREC is one of the most frequently used features of DFSORT,  many still find a SORT cards with OUTREC FIELDS=(21:106,4,35:1,75) confusing . We will try to explore the many uses of OUTREC in this article with some examples . OUTREC gives you the flexibility to reformat your output file in multiple ways . […]

How to create test files for SORT

  Looking to learn SORT ? , you are definitely going to need some input files to test your SORT card , the good news is that you need to have to create them manually . IBM provides you with a JCL which would create 3 test file with different kinds of data types that you […]

Mainframe Wiki © 2015 Frontier Theme