JCLNeat: Global String Replacement and // blank lines added
search cancel

JCLNeat: Global String Replacement and // blank lines added

book

Article ID: 214684

calendar_today

Updated On:

Products

JCLCheck Workload Automation

Issue/Introduction

Using the JCLNeat Global String Replacement feature ( //GSRCNTL DD ) to replace 'string1' with 'string2' in one or more JCL members.  If 'string2' is longer than 'string1', sometimes a // blank line is added to the JCL member immediately after the replaced statement.  This is seen when the JCL member has sequence numbers in columns 73-80.  

How to avoid the generated null statement? 

Environment

Release : All

Component : JCLCheck Workload Automation

Resolution

Remove the sequence numbers in columns 73-80 before running JCLNeat.  Enter ISPF command NUM ON, follows by command UNNUM to remove all sequence numbers.