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

DFSORT/ICETOOL :: RE: FINDREP Syntax Error

$
0
0
Author: seahawk789
Posted: Thu Mar 09, 2017 11:15 pm (GMT 5.5)

Arun Raj wrote:
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.


Thanks for the info. I have the solution using overlay, but I want to make it more generic and not based on static position. Thought FINDREP could be used, but it seems I have to go back to overlay method if this is not going to work icon_sad.gif


Viewing all articles
Browse latest Browse all 8500

Trending Articles