Author: balaji81_k
Subject: Re: Reply to: OUTREC FILELDS FAILS WITH ICE126A 2 INCONSISTENT REFORMAT
Posted: Tue Jul 05, 2016 9:29 pm (GMT 5.5)
Thanks Bill for your advise ,i have used BUILD instead of Fields.
_________________
dear peoples,
i want to join these this group in order to
enrich my knowledge in mainframe.
Subject: Re: Reply to: OUTREC FILELDS FAILS WITH ICE126A 2 INCONSISTENT REFORMAT
Posted: Tue Jul 05, 2016 9:29 pm (GMT 5.5)
Bill Woodger wrote: |
First don't use FIELDS use BUILD. Second, don't use columns unless you need them, which you don't here. BUILD creates a new record, sourced from the original, so there is no need to attempt to reference fields out of order. Your code fails exactly for the reason specified by Robert. Indeed, for this task, OVERLAY is better, where you would use columns and be concerned with the order. It uses the current record and only changes data specified in the statement. |
Thanks Bill for your advise ,i have used BUILD instead of Fields.
_________________
dear peoples,
i want to join these this group in order to
enrich my knowledge in mainframe.