Previous Topic: Example 3: Editing Fields in an Existing Output Record

Next Topic: Options


Example 4: Deleting Output That PMA Doesn't Use

This example shows you how to delete fields as well as output records. Both types of deletions are performed on the same panel. To get there, type OO in the fast path on the Primary Panel. Then press F11 to browse a list of existing output records. Tab to the record that requires deletion and press Enter.

Output Descriptions List

userid CA PMA/DataManager mm/dd/yy hh:mm:ss __ Input Output oPtions Exit Help +-- DMODESL -- Output Description List --------- ---------- | Panel Exit Help | --------------------------------------------- --------- | Select output description name. Then enter. wse ORDs | | More: - + ____ Row 0001 of 0002 | | ORD Record | Name Description Length | | _ MBJ MVS BATCH JOB 00065 ---------- | _ MBP MVS BATCH PRINT 00063 | _ OUR OUR PERFORMANCE DATA 00070 | _ | _ | | Enter F7=Bkwd F8=Fwd +----------------------------------------------- Command ===> ____________________________________________________________ F1=Help F3=Exit F4=Prompt F9=Command F10=Action Bar F12=Cancel PA1=Susp

That displays the Output Record Definition panel where deletions can happen. That panel currently lists the fields contained in this record. To delete an individual field like EXCPS, tab to that line, type a D in the Cmd column and press Enter.

Output Record Definition Panel

userid CA PMA/DataManager mm/dd/yy hh:mm:ss __ Input Output oPtions Exit Help +-- DMODESE ---------- Output Record Definition ----------------------------- º Panel Exit Help º -------------------------------------------------------------------------- º º ORD Name . . . : OUR º Description . . : OUR PERFORMANCE DATA More - + ____ Row ____ of 0001 º IRD Name . . . . OURSITE º º Cmd ORD Field Type IRD Field Name Fmt Len Prec Description º º _ JOBNAME_________ E JOBNAME_________ C 8_ __ ____________________ º _ CPUTIME_________ E CPUTIME_________ R 6_ __ ____________________ º _ I/O DBS_________ E I/O DBS_________ N 5_ __ ____________________ º D EXCPS___________ E EXCPS___________ N 5_ __ ____________________ º _ CB-CONS_________ C CA$KRCN_________ C 84 __ ____________________ º _ ________________ _ ________________ _ __ __ ____________________ º º F5=Save F6=Delete F7=Bkwd F8=Fwd F11=Header +---------------------------------------------------------------------------- Command ===> ____________________________________________________________ F1=Help F3=Exit F4=Prompt F9=Command F10=Action Bar F12=Cancel PA1=Susp

Rule:

You must delete ORD fields before deleting the corresponding input fields.

Deleting an entire output record and all its fields is even easier: just press F6. Whether or not DataManager prompts you to confirm deletions depends on the value assigned to the Save/Delete Prompt on the User Options panel (see Chapter 4).

Rule:

Always delete output records before input records because DataManager insists that all ORDs have defined IRDs.