The POS command
You can use the Position (POS) command (only with DEDBs) to perform the
following functions.
- Retrieve the location of a specific sequential dependent segment, or retrieves the location of the last inserted sequential dependent segment.
- Tell you the amount of unused space within each DEDB area. For example, you can use the position
information that IMS returns for a
POScommand to scan or delete the sequential dependent segments for a particular time period.
For the syntax of the POS command, see the topic "POS Command" in IMS
Version 15.2 Application Programming APIs.
If the area the POS command specifies is unavailable, the I/O area is
unchanged and the status code FH is returned.