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

What does a Path call mean


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

Active User


Joined: 02 Dec 2005
Posts: 109

PostPosted: Thu Jan 05, 2006 12:10 pm
Reply with quote

hi folks..

can anyone help me to know with clear explanations what does a Path call mean? Is it the same as a fully qualified call?



gowtham icon_cool.gif
Back to top
View user's profile Send private message
rajesh_1183

Active User


Joined: 24 Nov 2005
Posts: 121
Location: Tadepalligudem

PostPosted: Thu Jan 05, 2006 1:17 pm
Reply with quote

Hi Gautam,

what i know is...

If we issue a qualified call, the message-IO-Area will contain the data available in the last segment which is specifed in the qualified-ssa.

If we issue a path call the, the message-IO-Area will contain the data available in all the segments which are specified in the qualified-ssa.

correct me if I am wrong........

Thanks,
Rajesh
Back to top
View user's profile Send private message
gowtham_1982
Warnings : 1

Active User


Joined: 02 Dec 2005
Posts: 109

PostPosted: Thu Jan 05, 2006 2:32 pm
Reply with quote

rajesh_1183 wrote:
Hi Gautam,

what i know is...

If we issue a qualified call, the message-IO-Area will contain the data available in the last segment which is specifed in the qualified-ssa.

If we issue a path call the, the message-IO-Area will contain the data available in all the segments which are specified in the qualified-ssa.

correct me if I am wrong........

Thanks,
Rajesh


hi rajest,

thanks for your quick response..

i too got some info in the same. we need to move the command code 'D' to the SSA for the call. also we need to specify the segment I-O area listing all the segment we want to process.

corrections welcomed....

gowtham icon_smile.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 11, 2006 6:08 pm
Reply with quote

The pathcall will, besides the required segment, only return the segments in the path where *D is in the SSA's.
Back to top
View user's profile Send private message
itssreehere
Warnings : 1

New User


Joined: 10 Jan 2006
Posts: 65
Location: chennai

PostPosted: Wed Jan 11, 2006 6:26 pm
Reply with quote

Look at this example.I have a Database with three segments.
SegA,SegB and SegC. A is parent.B is child of A.C is child of B.I have one i/o area for each of them also.Let it be ws-A,ws-B,ws-C.


Call 'CBLTDLI' using func-gu
pcb-mask
ws-c
ssa-for-A
ssa-for-B
ssa-for-C.

If it is normal call it will return the segment C data only.That will be available in ws-C after the call.

Call 'CBLTDLI' using func-gu
pcb-mask
ws-A+ws-B+ws-C (group item containing all three)
ssa-for-A
ssa-for-B
ssa-for-C.
If you want to retrieve not only ws-C, but you want data in A,B,and C, you need to mention command code D in ssa for A and B.No need in C.
After the call ws-A will have data of segA,ws-B will have segB and ws-C will have segC.

structure of a path call SSA is,


'SEGM *D(keyfield =srchdata)'

If u need further clarification please let me know.

sreejith
itssreehere@yahoo.com
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 11, 2006 6:34 pm
Reply with quote

@itssreehere: correct, clap clap icon_biggrin.gif . One addition to avoid misunderstanding: ws-A, ws-B and ws-C are connected in one single i/o-area. This is what itssreehere ment with group item.
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 SET PATH in View DDL DB2 2
No new posts Error while running web tool kit REXX... CLIST & REXX 5
No new posts Call program, directly from panel CLIST & REXX 9
No new posts Batch call online program, EXCI task ... CICS 3
No new posts CSQBGET - Call giving completion code... COBOL Programming 3
Search our Forums:

Back to Top