Author: G SRINIVASA RAO
Subject: Stripping and Sorting of VB file
Posted: Wed Sep 14, 2016 1:34 pm (GMT 5.5)
Hi,
Could someone help me on error for the sort card where i am striping few columns and sorting 2 fields of I/P VB file(LRECL=2016) and writing to O/P VB file(LRECL=2004). And also file contains a trailer.
Sortcard:
Error:
Thanks in advance..
Thanks!
Srinivas
Coded
Subject: Stripping and Sorting of VB file
Posted: Wed Sep 14, 2016 1:34 pm (GMT 5.5)
Hi,
Could someone help me on error for the sort card where i am striping few columns and sorting 2 fields of I/P VB file(LRECL=2016) and writing to O/P VB file(LRECL=2004). And also file contains a trailer.
Sortcard:
Code: |
OPTION VLSHRT INREC IFTHEN=(WHEN=INIT,BUILD=(1,4,5:C'1',6:5)), IFTHEN=(WHEN=(6,7,CH,EQ,C'0000000'),OVERLAY=(5:C'9')) SORT FIELDS=(5,1,CH,A,18,7,CH,A,32,5,CH,A) OUTREC BUILD=(1,4,6:18,2000) |
Error:
Code: |
INREC RECORD LENGTH = 2017 POTENTIALLY INEFFICIENT USE OF INREC OUTREC RECORD LENGTH = 2005 |
Thanks in advance..
Thanks!
Srinivas
Coded