Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

What does a Path call mean

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC
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    Post subject: What does a Path call mean
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    Post subject:
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    Post subject:
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: 1105
Location: The Netherlands at Hole 19

PostPosted: Wed Jan 11, 2006 6:08 pm    Post subject:
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    Post subject:
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: 1105
Location: The Netherlands at Hole 19

PostPosted: Wed Jan 11, 2006 6:34 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> IMS DB/DC All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Cobol EZASOKET call to SETSOCKOPT fails Andi1982 COBOL Programming 6 Thu Oct 06, 2016 7:12 pm
No new posts Strange EXEC function call in z/VM Willy Jensen CLIST & REXX 3 Wed Oct 05, 2016 2:07 pm
No new posts COBOL DB2 - CALL statement - high CPU... TS70363 DB2 15 Sun Sep 11, 2016 6:07 am
No new posts Is possible to call subprogram from c... cmsmoon COBOL Programming 3 Fri Aug 05, 2016 6:46 pm
No new posts PCOMM macro to call another PCOMM macro boyti ko All Other Mainframe Topics 4 Tue Jul 12, 2016 4:30 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us