IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Regarding concatenation key in IMSDB


IBM Mainframe Forums -> IMS DB/DC
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
karthik3883

New User


Joined: 19 Oct 2007
Posts: 37
Location: chennai

PostPosted: Mon Jan 28, 2008 10:12 am
Reply with quote

Suppose am issuing a call with Concatenating key for 3 segments ,if the call retrieved 2 segments and the programs abends in retrieving the 3rd segment ,what will be my output will it contain the first 2 segments or nulll


Regards
Karthik
Back to top
View user's profile Send private message
Bitneuker

CICS Moderator


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

PostPosted: Mon Jan 28, 2008 11:51 pm
Reply with quote

When a program abends you've got nothing but a dump. Please explain a bit more like showing us your DB-call. Concatenation is unknown to me in IMS but you might refer to the pathcall issued with command code *D.
Back to top
View user's profile Send private message
Sandy Zimmer

Active Member


Joined: 13 Jun 2007
Posts: 826
Location: Wilmington, DE

PostPosted: Tue Jan 29, 2008 1:55 am
Reply with quote

George - quite possibly he is referring to the key feedback area in the PCB for that database?
Back to top
View user's profile Send private message
karthik3883

New User


Joined: 19 Oct 2007
Posts: 37
Location: chennai

PostPosted: Tue Jan 29, 2008 9:42 am
Reply with quote

hi sandy


what u have told is correct am asking about the key feed back area


Regards
Karthik
Back to top
View user's profile Send private message
Sandy Zimmer

Active Member


Joined: 13 Jun 2007
Posts: 826
Location: Wilmington, DE

PostPosted: Tue Jan 29, 2008 5:53 pm
Reply with quote

karthik3883 - The PCB for your database contains the concatenated keys of all successfully retrieved segments from the root on down. It also contains the last segment level number that was successfully retrieved. For instance, if you only retrieved the root, it would contain segment level 1 and the key for that root. If you successfully retrieved the child of that root, the segment level indicator would be 2 and the key feedback area would contain both the key of the root and the key of that child. Most importantly, it contains the status code of your last call. Do not ever manipulate the PCB - it belongs to IMS.
Back to top
View user's profile Send private message
Bitneuker

CICS Moderator


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

PostPosted: Wed Jan 30, 2008 12:55 am
Reply with quote

@wikipedia: "Concatenating key = key feed back area" icon_wink.gif

Sandy, you are a sensetive woman; I think like a man so missed this one icon_lol.gif
Back to top
View user's profile Send private message
Sandy Zimmer

Active Member


Joined: 13 Jun 2007
Posts: 826
Location: Wilmington, DE

PostPosted: Wed Jan 30, 2008 1:53 am
Reply with quote

Hey George! icon_biggrin.gif icon_redface.gif A great number of even experienced programmers do not understand the wealth of information contained in the PCB area. The second anyone mentions concatenation, I think PCB. Sometimes, it is difficult to ascertain what needs to be answered or the help someone needs - you do a great job - even for a man! icon_wink.gif
Back to top
View user's profile Send private message
Bitneuker

CICS Moderator


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

PostPosted: Wed Jan 30, 2008 4:59 am
Reply with quote

icon_wink.gif
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> IMS DB/DC

 


Similar Topics
Topic Forum Replies
No new posts INVALID RECFM FOR DDNAME SYSLIN AND C... All Other Mainframe Topics 7
No new posts Can we limit length in concatenation ... DB2 7
No new posts Need help in triggering a PL1 module ... IMS DB/DC 0
No new posts Utility to extract dsn info from conc... PL/I & Assembler 12
No new posts Get missing dataset from the concaten... Mainframe Interview Questions 2
Search our Forums:

Back to Top