HOW TO CHANGE SYSOUT CLASS RELATED TO PRINTTRC DDNAME
search cancel

HOW TO CHANGE SYSOUT CLASS RELATED TO PRINTTRC DDNAME

book

Article ID: 9720

calendar_today

Updated On:

Products

COMMON SERVICES FOR Z/OS Common Services

Issue/Introduction

We are running CA Common Services r14.1 on z/OS 2.x.  In the CCITCPGW task there is a DDname called PRINTTRC that is getting dynamically allocated upon task termination. How is this getting done?  Can I add the DDname to the proc?

My issue is that since the DDname is dynamically allocated, the output is going to Class=A Sysout and not getting archived to SAR (Sysout Archive Retrieval).   I want to have the output class be SYSOUT=T so it goes to SAR.

As delivered by default, the PRINTTRC DD is dynamically allocated by CCI.  It is normal behavior for PRINTTRC output to be snapped upon CCITCPGW or CCISSLGW task termination.

Environment

-Supported z/OS level-CA Common Services r14.1

Resolution

If you update the CCI proc to include the DDname and associate a SYSOUT=class, the DDname will be allocated to the defined Sysout class.

The Sysout class of this and any other dynamically allocated file is controlled by the SYSOUT control option within the ENF parameter file. The default is 'A' but you can define whatever you choose.

Additional Information

You can dynamically change the Sysout class by issuing the following console command: 

F ENF,SYSOUT(T)

Remember to update ENFPARMS to make the change permanent. Otherwise, the value will return back to the default or how it is currently defined in the ENF parameter file.