IMS command codes

Restriction: This topic applies only when the AppMaster Builder AddPack has been installed, and applies only to Windows platforms.

Use the CCODE keyword to include additional IMS command codes in DB-OBTAIN, DB-MODIFY, DB-PROCESS, and DB-STORE. Most IMS command codes are generated by the call keywords; any command code you specify with the CCODE keyword is added to these.

Note: Use CCODE carefully, because the command codes you specify with it are not validated by the IMS DB Generator.
Valid IMS CCODEs are:

P

Establish parentage at this level.

Q

Enqueue the segment.

U

Maintain current position at this level.

-

Null command code.

AMB generates the following IMS CCODEs; do not code them yourself.

D

Put segment in I/O area (generated by REC).

F

Locate first occurrence (generated by FIRST).

L

Locate last occurrence (generated by LAST).

N

Do not replace segment (generated by REF).

V

Maintain current position at this level (generated by CURRENT).

For more information, refer to the applicable IMS manuals.