When using batch utility CAWABATC to copy a PDS members to a sequential file an extra line './ ADD NAME=member name' is added to the output file. How can I remove this extra line?

Document ID : KB000021842
Last Modified Date : 14/02/2018
Show Technical Document Details

Summary:

The extra line './ ADD NAME=member name' is controlled by ADDCNTL keyword.
The ADDCNTL keyword lets you include or omit a member separator when copying a PDS members to a sequential file.
This keyword is only valid with the COPY and READ commands.

 

Instructions: 

In the example below the ./ ADD NAME=MEMBER1 will appear in the output file.

//SYSIN DD *
COPY,
INFILE(SYSUT1),
OUTFILE(SYSUT1O),
MEMBER(MEMBER1)
/*
//


To Eliminate the ./ ADD NAME= statement you can code the following adding the ADDCNTL(N) keyword.

//SYSIN DD *
COPY,
INFILE(SYSUT1),
OUTFILE(SYSUT1O),
MEMBER(MEMBER1),
ADDCNTL(N)
/*
//