Example 1
This example requests report modules CREPORT 033 and CREPORT 034 from the CULPDICT dictionary. These IDMS-DC/UCF network system reports list maps defined to the system dictionary. The report module parameters are not listed in the output because the user has not requested them.
DATABASE DICTNAME=CULPDICT CREPORT=033,034 or CREPORT=33 CREPORT=34
Both report modules can execute in the same run because each defines a PATH parameter that starts with the same record type (OOAK-012), as shown in the example below:
CREPORT 033 PATHX1 OOAK-012 PANEL-118 MAP-098 CREPORT 034 PATHY1 OOAK-012 PANEL-118 MAP-098 MAPRCD-125 RCDSYN-079
Example 2
This example is similar to Example 1 except that it selects only those maps defined to the dictionary with a version number of 1 and a name that begins with RQE. (The record and field names for the SELECT parameter can be obtained from either an Input Parameter Listing for CREPORTs 033 and 034 or the CA IDMS Dictionary Structure Reference Guide.) Since a path identifier is not specified, the selection criteria apply to both CREPORT 033 and CREPORT 034.
DATABASE DICTNAME=CULPDICT
CREPORT=033,034
SELECT MAP-098 WHEN MAP-VER-098 EQ 1 AND
* MAP-NAME-098 EQ ('RQE' TO 'RQF')
Example 3
In this example, DREPORT 018 reports on map occurrences defined to the DOCUDICT dictionary; the report module itself is stored in the CULPDICT dictionary. The SELECT parameter selects only those CA Culprit for CA IDMS input buffers in which users DEH and JKD defined map occurrences. By request, the report outputs the report module parameters.
DATABASE DICTNAME=CULPDICT DBNAME=DOCUDICT
PARAM=LIST
DREPORT=18
SELECT BUFFER WHEN PREP-BY-098 EQ ('DEH' 'JKD')
Example 4
In this example, report module DREPORT 088 is a key report that documents requested map occurrences defined to the DOCUDICT dictionary. The KEY parameter names map occurrences EMPJOB and JKDMAP. The report module parameters are not listed in the report output because the user has not requested them.
DATABASE DICTNAME=CULPDICT DBNAME=DOCUDICT
DREPORT=88
KEY MAP-NAME-098 ('EMPJOB' 'JKDMAP')
Example 5
In this example, archive journal records with the program name of IDBCAT are selected for processing. The INPUT parameter defines the physical characteristics of the archive journal file. By request, report module parameters for JREPORT 004 appear in the report output.
DATABASE DICTNAME=CULPDICT INPUT 4276 4276 UM(CULLJRNL) JREPORT=2 JREPORT=3 PARAM=LIST JREPORT=4 SELECT PROGRAM-NAME EQ 'IDBCAT'
|
Copyright © 2013 CA.
All rights reserved.
|
|