How to print the Activity Log to a dataset

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

Printing the Activity Log to a data set in preparation for sending to CA Support Engineering

Printing the Activity Log to a Dataset:

  1. Enter /PSM on the command line to get to the PSM Primary Menu

  2. From the PSM Primary Menu select F for Forms mgmt - make sure there is one set up for the log:
    Mine is called MYFORM and it has the following:
      Lines per Page,.....,60 ,,
    Columns per Page,...,132,,
    Banner Page,........,*DEFAULT,, Setup Name,.........,
    (No other options are filled in other than FORMNAME)
  3. From the PSM Primary Menu select P for Printer Definitions - If you do not have one set up to print to a dataset, you will need to ADD a definition similar to the following:
    Printer Name,.....,MYDSN     , 
    Type,.............,EXIT ,(JES, VTAM, ALIAS, EXIT)

    Description,......,PRINT TO MY DATA SET
    Lower Case,.......,YES,, (YES or NO)
    Line Limit,.......,0 ,, (Range 0 to 999999)
    Form Name,........,MYFORM , <<<<-NOTE the form name here
    ALIAS Printer
    ,Real Name,......, ,(Real printer name)
    JES Printer
    ,Destination,...., ,(destid.userid)
    ,Output Class,..., ,, (One alphanumeric character)
    VTAM Printer
    ,LU Name,........, ,
    ,Logmode,........, ,
    EXIT
    ,Exit Name,......,$PSDS81Z, <<<- Netmaster supplied
    ,Exit Data,......,dsn='my.data.set.name' lrecl=132 <<<- predefine
  4. Go to the log /LOG

  5. Scroll through the log until the top line that you want printed appears at the top of the screen. Enter command: PRINT START

  6. Scroll through the log until the bottom line that you want printed appears at the top of the screen. Enter command: PRINT END

  7. Enter command: PRINT
    Put a ? in the Printer Name field as follows:
    Printer Name,..+,?           ,
    Copies,.........,1 ,,(Range 1 to 255)
    Hold?,..........,NO ,,(YES or NO) Keep?,..........,NO ,,(YES or NO)
  8. Select the name that you defined in Step 3 above. Hit enter. Hit F6 to confirm.

  9. If you select Q from the PSM Primary Menu, you will see your output. It should also now be in the data set that you defined in Step 3 above.