Parameter list
The parameter list and required values are described below. The format of the parameters is the same as documented in the IMS V10 Exit Routine Reference Manual. There are no other valid functions.
Parameter | Description |
---|---|
+0 | Address of call function The following parameter values are available: 0 (x'00') COMPRESS 4 (x'04') EXPAND 12 (x'0C') OPEN 16 (x'10') CLOSE |
+4 | Address of record name (file name for OPEN and CLOSE). |
+8 | Address of source This is the first byte of record data. |
+12 | Address of target area This area should be as large as the largest source record in the file passed for compression, including the LL. It is your responsibility to acquire this data area and ensure that it is large enough. The source and target areas are not used for OPEN and CLOSE functions, but the offsets must be the same. |
+16 | Address of file anchor This is a full-word supplied by you that the Callable Interface uses to locate all necessary control blocks for each file. If several files are being processed, a different full-word must be supplied for each one. It is set when the OPEN call is issued and must be returned unchanged for every subsequent COMPRESS, EXPAND, and CLOSE call for that file name. |
Related topic