Trying to use the JCLNeat Global String Replacement DD feature:
//GSRCNTL DD *
in order to modify the //SYSIN DD * content passed to program IDCAMS in a jcl, it seems this doesn't work and the //SYSIN content is skipped and not managed at all.
Release : All
The //SYSIN DD content passed to IDCAMS program is classified by JCLNeat as Type CTL (Control card information). It cannot be changed by JCLNeat Global String Replacement DD feature, because it would go against actual DD statements & sub parameters.
This is also reported in the Product Documentation at the following link :
In fact the JCL TYPE operand of GSRCNTL does not include the CTL type :
JCL-type
JCL-type is an optional JCL statement identifier that limits the search for the from-string to the type of JCL specified. You can use the following JCL-types: CNTL, COMMAND, DD, DPROC, ELSE, ENDCNTL, ENDIF, EXEC, IF, INCLUDE, JCLLIB, JOB, NJB, OUTPUT, PEND, PRINTDEV, PROC, and SET.
The only way to manage in JCLNeat the CTL type commands is using the CAZ1NREX Rexx exit and addressing the CTL statements in the RAW_PROCESSING section.