Quantcast
Channel: IBM Mainframe Computers Forums
Viewing all articles
Browse latest Browse all 9405

DFSORT/ICETOOL :: RE: FINDREP Syntax Error

$
0
0
Author: Arun Raj
Posted: Thu Mar 09, 2017 10:34 pm (GMT 5.5)

How about using INREC IFTHEN to OVERLAY current date/time based on input position, instead of FINDREP.

FINDREP is used to find and replace constants within the input data record.

FINDREP Output Constant Rules wrote:
An output constant can be specified as a null string, a single character string, a repeated character string, a single hexadecimal string, or a repeated hexadecimal string. The syntax is: C'' (null), C'string',nC'string', X'string' or nX'string'. n can be 1 to 256.


IIRC current date/time constants can be 'inserted' only with INREC/OUTREC/OUTFIL BUILD or OVERLAY parameters.
_________________
Arun
----------------------------------------------------------------------------------------------------
Love is like an hourglass, with the heart filling up as the brain empties. -Jules Renard


Viewing all articles
Browse latest Browse all 9405

Trending Articles