Using LJCK command under CA 7 the error message :
CAY6052E DSNAME dsname IS INVALID NEAR string
is issue when the dsname in question contains System Symbols also with concatenation and the validation fails RC=08.
Release : All
The solution in order to bypass this error with the System Symbols is to set the Runtime Option
JOBTYPE(S)
(the Default of this option is J)
Unfortunately the LJCK command is related to the Component of the product distributed for CA 7 (a limited part of the full product) and this Runtime Option is not included here. In fact, the CA 7 task joblog shows that only the Common Component is licensed and not the full product:
16.52.14 STC04821 CA-7.IJCK - THE FOLLOWING JCLCHECK OPTIONS IN EFFECT :
16.52.14 STC04821 CA-7.IJCK - O(JCLCHECK),AU,NOCT,TERM,NOLIST,NOSP
16.52.14 STC04821 CA-7.IJCK - JCLCHECK COMMON COMPONENT INTERFACE LOADED.
16.52.14 STC04821 CA-7.IJCK - JCLCHECK INTERFACE BUFFER SIZE IS 08000 .
In this scenario all the possible JCLCheck Runtime Options that can be used under CA7 are set in the JCLCHECK Statement of the CA7 Init deck and they are documented as follows in the tecdoc:
...
DDNAME
Specifies the DDNAME for a DD statement in the execution JCL for CA 7. This statement should point to a sequential data set where installation-specific runtime options for JCLCheck reside. Define the data set as follows:
DCB=(LRECL=80,RECFM=FB,BLKSIZE=80 * nnnn)
Only the following user-specified options are permitted:
EASYRDR, EASYPROC, FEATURE, INPUT, OPTIONS, PASSWORD, PREFIX, PROC, OPROC, PULL, TERM, VSAM, JCLLIB, LOCATE, NOSP, NOCT and for debugging and security NOSEC, NOACF2, NOSPIE, DEBUG, DEQUE
Also, the AUTOPROC option is allowed when the following conditions are true:
A SYSPROC DD statement is not coded in the CA 7 startup procedure.
CA 7 is operating in a JES2 environment.
...
so the runtime option JOBTYPE is not included as it is only managed by the full product (not the Common Component) and cannot be used in this situation to override the default value of J. If used to override it, the following message will be seen:
CAY6037E UNKNOWN KEYWORD 'JOBT' SPECIFIED IN OPERAND OF 'OPTIONS'
On the other hand, it is reported in TechDocs that the Common Component is a syntax checker only, so the error CAY6052E with the System Symbols can only be bypassed using the full product.