Previous Topic: Update a BDAM RecordNext Topic: Temporary Storage


Add a New BDAM Record

To add a record, specify the ADD operation on the FILE definition.

Note: Before reading this section, consult the BDAM Data Sets section of the File Control Section in the IBM CICS/VS Application Programmer's Reference Manual.

  1. Complete one of the following fields:
    FUNC=ADDN 	   (to obtain a new work area)
    FUNC=ADDU 	   (to use the data in the existing work area)
    

    Complete the following optional field, if appropriate:

    DATA= characters
    
  2. Press Enter. The following information displays on the FILE screen:
  3. Make any necessary changes to the newly obtained work area.
  4. To write the newly added record, complete the following fields as follows:
    FUNC=PUT
    RCID= record identification
    

    and, if appropriate, the following optional field:

    SIZE= size of record's data  (required for variable length)
    

    Press Enter. The following information appears on the FILE screen:

  5. If you change your mind and decide not to add any records at this time, complete the FUNC= field as shown following, and press Enter:
    FUNC=REL
    

    The following information appears on the FILE screen: