KB Article #176920
internal workfile with IDTU appended is used, that makes the dataset Name longer than 44 Bytes
Problem
internal workfile (WFNAME) with IDTU appended is used
the Data Set Name gets longer than 44 Bytes after the CFT variable is resolved
Working in open mode with a generic CFTRECV define as below:
WFNAME=&NFNAME.&IDTU
FNAME=&NFNAME
Resolution
For a generic CFTRECV where the WFNAME is wanted (rename, PDS support....)
It is recommended to have the WFNAME set with &PATH.&IDTU
That combination should cover most of use cases minimizing the risk to fail in a WFNAME length longer than 44 bytes.
For a FNAME=A0000001.B0000001.C0000001.D0000001.E0000001
The &PATH value will be: A0000001.B0000001.C0000001.D0000001
So the &IDTU value can always be concatened
WFNAME=&PATH.&IDTU
WFNAME=A0000001.B0000001.C0000001.D0000001.A0000101