JCLNeat to change an entire statement using GSRCNTL

Document ID : KB000110925
Last Modified Date : 13/08/2018
Show Technical Document Details
Question:
How do I replace an entire OUTPUT statement using JCLNeat GSRCNTL?
Answer:

To change from  //OUTPRNT OUTPUT CLASS=M  to //OUTACC OUTPUT CLASS=X,DEST=R586 for OUTPUT statement. 

//GSRCNTL   DD   *
|//OUTPRNT|REPL|OUTPUT 
|//*OUTPRNT| 
|//*OUTPRNT|INSB|OUTPUT 
|//OUTACC OUTPUT CLASS=X,DEST=R586| 
|//*OUTPRNT|DELT|OUTPUT 

 
Additional Information:
As always, contact CA Technologies support for CA JCLCheck Workload Automation if you have further questions.