imsdb command codes - proc options

7
IMSDB-COMMAND CODES & PROC OPTIONS WWW.SRINIMF.COM Copyright 2014

Upload: srinimf-techjobsbizsuccess

Post on 23-Jan-2015

799 views

Category:

Education


3 download

DESCRIPTION

IMSDB COMMAND CODES - PROC OPTIONS. WITH COMMAND CODE ELIGIBILITY.

TRANSCRIPT

Page 1: IMSDB COMMAND CODES - PROC OPTIONS

Copyright 2014

IMSDB-COMMAND CODES & PROC OPTIONS WWW.SRINIMF.CO

M

Page 2: IMSDB COMMAND CODES - PROC OPTIONS

Copyright 2014

Command Codes

A Clear positioning and start the call at the beginning of the database.

C Use the concatenated key of a segment to identify the segment.

D Retrieve or insert a sequence of segments in a hierarchic path using only one call, instead of using a separate (path) call for each segment.

F Back up to the first occurrence of a segment under its parent when searching for a particular segment occurrence. Disregarded for a root segment.

G Prevent randomization or the calling of the HALDB Partition Selection exit routine and search the database sequentially.

L Retrieve the last occurrence of a segment under its parent.

M Move a subset pointer to the next segment occurrence after your current position. (Used with DEDBs only.)

N Designate segments that you do not want replaced when replacing segments after a Get Hold call. Typically used when replacing a path of segments.

Page 3: IMSDB COMMAND CODES - PROC OPTIONS

Copyright 2014

Command CodesP Set parentage at a higher level than what it usually is (the lowest-level SSA of the call).Q Reserve a segment so that other programs cannot update it until you have finished processing and updating it.R Retrieve the first segment occurrence in a subset. (Used with DEDBs only.)S Unconditionally set a subset pointer to the current position. (Used with DEDBs only.)U Limit the search for a segment to the dependents of the segment occurrence on which position is established.V Use the hierarchic level at the current position and higher as qualification for the segment.W Set a subset pointer to your current position, if the subset pointer is not already set. (Used with DEDBs only.)Z Set a subset pointer to 0, so it can be reused. (Used with DEDBs only.)

- Null. Use an SSA in command code format without specifying the command code. Can be replaced during execution with the command codes that you want.

Page 4: IMSDB COMMAND CODES - PROC OPTIONS

Copyright 2014

Command Code EligibilityCommand Code GU GHU GN GHN GNP GHNP   REPL   ISRT   DLET

A   X        

C X X X   X  

D X X X   X  

F X X X   X  

G   X        

L X X X   X  

M X X X X X  

N       X    

P X X X   X  

Q X X X   X  

R X X X   X  

S X X X X X  

U X X X   X  

V X X X   X  

W X X X X X  

Z X X X X X X

- X X X X X X

Page 5: IMSDB COMMAND CODES - PROC OPTIONS

Copyright 2014

Proc Options

G - Your program can read segments. R - Your program can read and replace segments.I - Your program can insert segments.D - Your program can read and delete segments.A - Your program can perform all the processing options. It is equivalent to specifying G, R, I, and D.

Page 6: IMSDB COMMAND CODES - PROC OPTIONS

Copyright 2014

Proc Options…

GON,GONP – When invalid pointer, IMS encounters GG status code, IMS will use different path to access data. For DEDB database

GOT,GOTP – IMS will retry, when encounters invalid pointer. For Fast Path Database.

Page 7: IMSDB COMMAND CODES - PROC OPTIONS

Copyright 2014

THANK YOU

WWW.SRINIMF.COM