Apologies if this is not the ideal section of the forum for this question.
I am trying to replicate the behavior of an older program we have that uses the FMTDATA command. I thought I had a pretty good grasp on how sort specs work; but I do have a question regarding the relationship between the conditions defined on several lines with a blank in position 7.
Take, for example:
I read in the "Sort User's Guide and Reference pg.31" that a blank in position 7 indicates "The first of the set of record specifications that is to define this type of record" this seems a little ambigous to me. Are the first 4 lines above in an AND relationship? Omit records with this AND this AND this are true? How do the following two sets of lines figure in that have continuation lines as indicated by the A in position 7?
I am trying to replicate the behavior of an older program we have that uses the FMTDATA command. I thought I had a pretty good grasp on how sort specs work; but I do have a question regarding the relationship between the conditions defined on several lines with a blank in position 7.
Take, for example:
PHP Code:
HSORTA 19A 3X 04 N
O C 62 62EQCX
O C 88 88NECX
O C 89 89EQCC
O C 93 93NEC
*
O C 101 101EQCP
OAC 107 108EQC00
*
O C 101 101EQCP
OAC 107 108EQC
*
O C 15 18EQC9000
I
FNC 21 35
FNC 55 58




Comment