IBM AS/400 User Manual Page 368

  • Download
  • Add to my manuals
  • Print
  • Page
    / 489
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 367
Multiple-Device Files
ation to the ICF device, you do not need to modify the value again unless an
input operation completes successfully with a different device.
¹ The SAVEDS keyword indicates a data structure that is saved and restored for
each device acquired to a file. The SAVEIND keyword indicates a set of indica-
tors to be saved and restored for each device acquired to a file. Before an input
operation, the current set of indicators and data structure are saved. After the
input operation, the RPG compiler restores the indicators and data structure for
the device associated with the operation. This may be a different set of indica-
tors or data structure than was available before the input operation.
¹ The INFDS keyword specifies the file information data structure for the
WORKSTN file. The RPG *STATUS field and the major/minor return code for
the I/O operation can be accessed through this data structure. Particularly
when ICF is being used, both fields are useful for detecting errors that occurred
during I/O operations to multiple-device files.
Note: When specifying these control options, you must code the MAXDEV
option before the DEVID, SAVEIND or SAVEDS options.
344 ILE RPG for AS/400 Programmer's Guide
Page view 367
1 2 ... 363 364 365 366 367 368 369 370 371 372 373 ... 488 489

Comments to this Manuals

No comments