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

Next Topic: Handling Output Records

Example 4: Deleting Input That PMA Doesn't Use

This example shows you how to delete individual fields or entire input records (including all fields). Both types of deletions are performed on the same panel. To display this panel, type II in the fast path on the Primary Panel. Then press F11 to browse a list of existing input records. Tab to the record that requires deletion and press Enter.

Input Descriptions List

userid CA PMA/DataManager mm/dd/yy hh:mm:ss __ Input Output oPtions Exit Help +-- DMIDESL --- Input Descriptions List ------------------- | Panel Exit Help | -------------------------------------------------------- | Select input description name. Then Enter. | | More: - + ____ Row 0001 of 0001 | | IRD Rec Hex | DD Name Name Description Len Val | | _ OURDATA OURSITE OUR PERFORMANCE DATA 80 | _ | _ | _ | _ | | Enter F7=Bkwd F8=Fwd F11=Description +---------------------------------------------------------- Command ===> ____________________________________________________________ F1=Help F3=Exit F4=Prompt F9=Command F10=Action Bar F12=Cancel PA1=Susp

This displays the Input Record Definition panel where deletions can happen. This panel currently lists the fields contained in this record. To delete an individual field like EXCPS, tab to its row, type a D in the CMD column and press Enter.

Input Record Definition Panel

userid CA PMA/DataManager mm/dd/yy hh:mm:ss __ Input Output oPtions Exit Help +-- DMIDESE ----------- Input Record Definition ---------------------------- | Panel Exit Help | ------------------------------------------------------------------------- | | DD Name . . . . : OURDATA | IRD Name . . . . : OURSITE More: - + ____ Row: 0001 of 0005 | Description . . : OUR PERFORMANCE DATA | | CMD Field Name Description Fmt Atr Offset Len Prec | | _ JOBNAME JOB NAME C _ 00001 8 __ | _ STARTDATE JOB START DATE N DC 00009 8 __ | D STARTTIME JOB START TIME N T 00017 6 __ | _ STOPDATE JOB END DATE N DC 00023 8 __ | _ STOPTIME JOB END TIME N T 00031 6 __ | _ ELAPSEDTIME ELAPSED TIME N S 00037 8 5 | | F2=Sort F5=Save F6=Delete F7=Bkwd F8=Fwd +--------------------------------------------------------------------------- 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 input 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.