IBM Support

ASMA060S COPY code not found when running SMP jobs for CICS installation or maintenance

Question & Answer


Question

Why am I receiving 'ASMA060S COPY code not found' messages when I run SMP jobs for CICS Transaction Server for z/OS installation or maintenance? I am installing CICS into a new SMP environment when getting the ASMA060S errors. The SMP output shows that copybooks are not being found that are needed for the assembly process.

Answer

When SMP compiles or assembles source code, it uses the SYSLIB concatenation defined in the SMP ZONE where the APPLY is run. There are many ways to create the SMP environment, depending on how you ordered the product. Somewhere in the process, you should have run a job that updated the SMP DDDEF for the SYSLIB concatenation. This defines how the SYSLIB concatenation is to be dynamically allocated when it is needed.

For CICS, the SMP TARGET zone definition for SYSLIB needs to contain the SDFHMAC, SDFHSAMP, MACLIB and MODGEN datasets, in that order. The SMP DISTRIBUTION zone needs to contain the ADFHMAC, ADFHSAMP, MACLIB and MODGEN datasets, in that order.

The sample install job DFHINST4 from SDFHINST (or unloaded from a REL file prior to the install) should contain the following to setup the SYSLIB concatenation.

For the TARGET zone:

 ADD DDDEF(SYSLIB)                            
     CONCAT(SDFHMAC,SDFHSAMP,MACLIB,MODGEN) . 

For the DISTRIBUTION zone:

 ADD DDDEF(SYSLIB)                             
     CONCAT(ADFHMAC,ADFHSAMP,MACLIB,MODGEN) .

Note that these DDDEFs for SYSLIB are references to other DDDEFs. That is, there must be a DDDEF for SDFHMAC, one for MACLIB, one for MODGEN, etc. If you update the SYSLIB concatenation defintion and include a DDDEF that does not exist, at runtime you will receive other error messages, similar to the following:

 GIM54502E ** ALLOCATION FAILED FOR SMP01234 BECAUSE THERE IS NO DD   
              STATEMENT IN THE JCL AND NO DDDEF ENTRY IN TARGET ZONE  
              tzone

Refer to topic DDDEF entry (distribution, target, and global zone) in the SMP/E for z/OS Reference for instructions on how to add or update DDDEFs.

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSGMGV","label":"CICS Transaction Server"},"Platform":[{"code":"PF035","label":"z\/OS"}],"Component":"Installation","Version":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Product Synonym

CICS/TS CICSTS CICS TS CICS Transaction Server

Document Information

Modified date:
03 May 2017

UID

dwa1372081