Edit the Output Record Definitions stored in the ORDTAB table by:
When building new output records, define each of the fields your PMA applications will use. Output records all require one additional field to prepare them for input to CA PMA Chargeback. That field must be called CB-CONS and have Type C. Instead of specifying an IRD Field Name for construct fields, you specify the name of the program DataManager should run to supply values for this field. For CA PMA Chargeback, that program name is CA$KRCN and it returns values up to 84 characters long.
userid CA PMA/DataManager mm/dd/yy hh:mm:ss __ Input Output oPtions Exit Help +-- DMODESE ---------- Output Record Definition ----------------------------- º Panel Exit Help º -------------------------------------------------------------------------- º º ORD Name . . . : MBJ º Description . . : MVS BATCH JOB More - + ____ Row 0001 of 0001 º IRD Name . . . . MBJ º º Cmd ORD Field Type IRD Field Name Fmt Len Prec Description º º _ CB-CONS C CA$KRCN C 84 00 Construct º _ ________________ _ ________________ _ __ __ ____________________ º _ ________________ _ ________________ _ __ __ ____________________ º _ ________________ _ ________________ _ __ __ ____________________ º _ ________________ _ ________________ _ __ __ ____________________ º _ ________________ _ ________________ _ __ __ ____________________ º º 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
The Output Record Definitions panel appears when one of these events occurs:
F7 and F8 let you scroll backward and forward through the Output Record Definition list. You can also use the scroll bar to move through the list.
┌───────────────┐ | Primary | ┌─┤ Panel ├─────┐ | | >OO | | | └────────────┬──┘ | | >Output | | └───────┬──────┘ | ┌───────v──────┐ | | Output ├─────┐ | | Pull-Down | v v | >1 | ┌───────────────┐ └──────────────┘ | Output Record | ┌─┤ Description ├────┐ | | panel >F2 | | ┌────┤ └────────────┬──┘ | | | >F11 | | v └──────────────┘ v ┌─────────────┐ ┌───────────────┐ | Output | | Output Record | | Descriptions|───>| Definition | | List >Enter| | panel | └─────────────┘ └───────────────┘
Caution: You must save your input using F5 before scrolling the panel. If you do not, the data you have entered will be cleared from the panel.
The first time this panel appears, you are in insert mode; no lines appear under the Cmd column, the scroll bar does not reflect a row count, and the only active panel function keys are F5, F7 and F8. When you press F5 (Save), you will receive a message telling you that the insert was successful. At this point, you are in update mode. The panel scroll bar provides a row count, the Cmd column is active (lines appear under the column), and all panel function keys are active. Pressing F5 (Save) will give you a message telling you that the update was successful.
The following fields on the Output Record Definition panel are available for input:
The name given to the input record where these output values can be found. DataManager gets all data values for this output record from just one input record.
Delete fields by typing a D in this column and pressing Enter. For redefine fields (Type R), type a U to update the field's offset.
The name you give this field. Together, ORD Name and ORD Field name uniquely identify each output field. When defining CA PMA Chargeback's construct, use the name CB-CONS.
The DataManager COMMIT processing generates CA Earl field definition names based on the field name defined here. If you are using the DataManager COMMIT processing generated field definitions for the ORD data file, or Reconciliation file CA Earl reporting, each field name for a single ORD should be unique within the first 14 positions.
The type of data stored in this field.
C A construct
E A field extracted from an input record.
R A redefine value. For example, redefine MONTH (mm) by breaking down a date in yyyymmdd format. Specify Type R for MONTH and DataManager displays this window to prompt you for the starting position of this redefine field. Specify where this output field begins relative to the input field. For example, the offset for MONTH within yyyymmdd is 5 (MONTH starts in the date's fifth column). (See Output Record Definition Panel).
┌ DMODESF - Redefine ┐ | | | MONTH | | defines DATE | | with an offset of 5| | | | F5=Save | └────────────────────┘ ┌─┬─┬─┬─┬─┬─┬─┬─┐ |1 2 3 4|5 6|7 8| |y y y y|m m|d d| └───────┴───┴───┘
The name of the input field from which this output field is derived. This input field must occur on the input record specified for IRD Name.
When defining the construct for CA PMA Chargeback, specify CA$KRCN as its IRD Source Field (see sample screen in Output Record Definition Panel).
If you have trouble remembering valid input field names, use the prompt feature. F4 lists all the fields defined for this IRD so you can choose one.
The format of this output field:
C Character (use for the CB-CONS construct)
D Date: yyyymmdd. Always 8 bytes, precision 0, zoned decimal unsigned.
N Numeric: any length, packed decimal
R Duration in seconds. 8 digits, precision=5, packed decimal unsigned.
T Time: hhmmsstttt. (to 1/10,000 of a second) precision 0
The number of columns reserved for this field's data. For the CB-CONS construct, the maximum length is 84.
The number of decimal places to the right of the decimal. Valid for Fmt R or N.
A description of this output field. (optional)
(Save) Saves your changes and additions to this panel.
(Delete) Deletes this entire record.
(Header) Displays existing header information.
Displays a window containing the redefined field's offset.
When redefining a value, first create an ORD field (like OUTDATE) for the entire value stored in the IRD field (like STARTDATE).
userid CA PMA/DataManager mm/dd/yy hh:mm:ss __ Input Output oPtions Exit Help +-- DMODESE ---------- Output Record Definition ----------------------------- º Panel Exit Help | --------------------------------------------------------------------------- | º ORD Name . . . : MBJ º Description . . : MVS BATCH JOB More - + ____ Row 0001 of 0001 º IRD Name . . . . MBJ º º Cmd ORD Field Type IRD Field Name Fmt Len Prec Description º º _ OUTDATE E STARTDATE N 8 00 Save the entire date º _ ________________ _ ________________ _ __ __ ____________________
Then save this field definition before proceeding. To save, just press F5.
Then you can redefine STARTDATE by creating a new field that stores just part of the original value. For example, you would define STARTMONTH this way.
userid CA PMA/DataManager mm/dd/yy hh:mm:ss __ Input Output oPtions Exit Help +-- DMODESE ---------- Output Record Definition ----------------------------- º Panel Exit Help | --------------------------------------------------------------------------- | º ORD Name . . . : MBJ º Description . . : MVS BATCH JOB More - + ____ Row 0001 of 0001 º IRD Name . . . . MBJ º º Cmd ORD Field Type IRD Field Name Fmt Len Prec Description º º _ OUTDATE E STARTDATE N 8 00 Save the entire date º _ STARTMONTH______ R OUTDATE_________ N 2 00 Just the month value
DataManager needs to know which two characters in OUTDATE store the value for STARTMONTH. DataManager prompts you for this information using the Redefine window which appears when you press Enter.
userid CA PMA/DataManager mm/dd/yy hh:mm:ss __ Input Output oPtions Exit Help +-- DMODESE ---------- Output Record Definition ----------------------------- º Panel Exit Help | ----------------------------+- DMODESF - Redefine ---------+--------------- | | | º ORD Name . . . : MBJ | STARTMONTH | º Description . . : MVS BATCH| redefines OUTDATE |001 of 0001 º IRD Name . . . . MBS | with an offset of 5 | º | | º Cmd ORD Field Type IRD F| F5=Save |iption º +------------------------------+ º _ OUTDATE E STARTDATE N 8 00 Save the entire date º _ STARTMONTH______ R OUTDATE_________ N 2 00 Just the month value
If OUTDATE has the form yyyymmdd, STARTMONTH has an offset of 5.
If you ever want to change the offset value for a redefine field, just type U in the CMD column on that line. DataManager then displays the Redefine window again so you can change the offset value. Be sure to press F5 to save your input before leaving the Redefine window.
Updating the offset value
userid CA PMA/DataManager mm/dd/yy hh:mm:ss __ Input Output oPtions Exit Help +-- DMODESE ---------- Output Record Definition ----------------------------- º Panel Exit Help | ----------------------------+- DMODESF - Redefine ---------+--------------- | | | º ORD Name . . . : MBJ | STARTMONTH | º Description . . : MVS BATCH| redefines OUTDATE |001 of 0001 º IRD Name . . . . MBS | with an offset of 5 | º | | º Cmd ORD Field Type IRD F| F5=Save |iption º +------------------------------+ º _ OUTDATE E STARTDATE N 8 00 Save the entire date º U STARTMONTH R OUTDATE N 2 00 Just the month value _ > º _ ________________ _ ________________ _ __ __ ____________________ º _ ________________ _ ________________ _ __ __ ____________________ º _ ________________ _ ________________ _ __ __ ____________________ º _ ________________ _ ________________ _ __ __ ____________________ º º 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
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |