Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
Command code in IMS DB/DC

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC
Author Message
KAMALAK

New User


Joined: 18 Jul 2005
Posts: 14

PostPosted: Mon Sep 26, 2005 5:58 pm    Post subject: Command code in IMS DB/DC
Reply with quote

pleasse send some material on command code
Back to top
View user's profile Send private message
References
PostPosted: Mon Sep 26, 2005 5:58 pm    Post subject: Re: Command code in IMS DB/DC Reply with quote

swathig

New User


Joined: 20 Sep 2005
Posts: 3

PostPosted: Wed Sep 28, 2005 7:56 pm    Post subject: Re: Command code in IMS DB/DC
Reply with quote

There are some command codes like F, N, C, V, U, P, D, Q etc
For finding various ways of retrieval in IMS.
Back to top
View user's profile Send private message
sanon

New User


Joined: 09 Dec 2005
Posts: 5

PostPosted: Fri Dec 09, 2005 11:51 am    Post subject: IMS DB/DC command codes
Reply with quote

Some frequently used command codes are :

D - Put this segment into the IO?AREA (path call)
N - Do not replace this segment
C - Concatenated key in this SSA
F - Locate first occurrence
L - Locate last occurrence
P - Establish parentage at this level
U - Maintain current position at this level
V - Maintain current position here & higher
- - Null Command code.
Back to top
View user's profile Send private message
prasanth_thavva

Active User


Joined: 28 Jul 2005
Posts: 103
Location: Bangalore

PostPosted: Sun Dec 11, 2005 5:01 pm    Post subject: Some frequently used command codes are :
Reply with quote

can you explain the above command codes ,, if any program please give an idea
Back to top
View user's profile Send private message
Bitneuker

IMS Moderator


Joined: 07 Nov 2005
Posts: 1130
Location: The Netherlands at Hole 19

PostPosted: Mon Dec 19, 2005 7:10 pm    Post subject:
Reply with quote

From the manual:
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 having to use a separate call for each segment (path call).

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.

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. Usually used when replacing a path of segments.

P
Set parentage at a higher level than what it usually is (the lowest SSA level of the call).

Q
Reserve a segment so that other programs will not be able to 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 current position at this hierarchic level and above 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 zero, 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 code or codes that you want.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC All times are GMT + 6 Hours
Page 1 of 1