Transcription of Smart DFSORT Tricks - IBM
{{id}} {{{paragraph}}}
Smart DFSORT TricksOctober, 2010 DFSORT Web SiteFor papers, online books, news, tips, examples and more, visit the DFSORT website at URL: iiSmart DFSORT Tricks ContentsSmart DFSORT Tricks1 Introduction: Details of functions used in tricks1 Introduction: PTF level of functions needed for tricks1 Update count and total in existing trailer2 Create large records from small records4 Create small records from large records5 Convert between different types of dates6 Identify invalid dates8 Extract corresponding weekdays from dates9 Add/subract days, months, years for date fields10 Calculating days between two date fields11 Using SET and PROC symbols in control statement
You can use the RESIZE operator of DFSORT's ICETOOL to create one long fixed-length record from several shorter fixed-length records. Let's say we have an input file with RECFM=FB and LRECL=10 that has these records: Record 001 Record 002 Record 003 Record 004 Record 005 Record 006 Record 007 Record 008 We want to combine three records into one.
Domain:
Source:
Link to this page:
Please notify us if you found a problem with this document:
{{id}} {{{paragraph}}}