Previous Topic: Modifying Map OptionsNext Topic: Suppressing Map Error Messages


Writing and Reading in One Step

To write data to the terminal and read data input from the terminal in one synchronous operation, issue a MAP OUTIN statement.

Important! MAP OUTIN forces your program to be conversational; it is not recommended.

If your application needs to write and read in one step, perform the following steps:

  1. Issue mapping mode housekeeping statements

    For more information about housekeeping statements, see Housekeeping.

  2. Modify map or map data fields,

    For more information about modifying map data fields, see Modifying Map Options.

  3. Initialize variable-storage data fields as needed
  4. Transfer data from variable-storage data fields to map fields on the terminal screen and back again by issuing the MAP OUTIN statement