MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

REPL with SSA

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> IMS
View previous topic :: View next topic  
Author Message
harshk_basheer
Beginner


Joined: 29 Jul 2004
Posts: 2
Topics: 1

PostPosted: Thu Jul 29, 2004 11:23 am    Post subject: REPL with SSA Reply with quote

Hi All,

I am new to this forum, and am here looking for an answer.

What will happen when an REPL call is made to the IMS with SSA variable also given in the call?

Code:
 MOVE SPACES TO DB-SSA

CALL CBLTDLI USING 'REPL'
                   DB-PCB
                   IO-AREA
                   DB-SSA


Do let me know what will happen in this case.

Thanks
HArsh
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12388
Topics: 75
Location: San Jose

PostPosted: Thu Jul 29, 2004 12:23 pm    Post subject: Reply with quote

harshk_basheer,

What does DB_SSA contain? If it is just the segment name which you are trying to replcace, then you will successfully replace the record in the segment. I assume that there is a successfull GHU call before this REPL call.

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
harshk_basheer
Beginner


Joined: 29 Jul 2004
Posts: 2
Topics: 1

PostPosted: Thu Jul 29, 2004 1:18 pm    Post subject: Reply with quote

So, as per kolusu, if the SSA value contains just the segment name, this code will work. Yes, as you mentioned, there is a GHU call before this command.

I will try this out and update this post accordingly.

Thanks for the reply
Harsh
Back to top
View user's profile Send private message
deepeshk79
Beginner


Joined: 20 Jun 2003
Posts: 112
Topics: 48
Location: Bangalore

PostPosted: Fri Aug 20, 2004 9:19 am    Post subject: Reply with quote

Hi harshk_basheer,

The 'REPL' calls are used with Unqualified SSA's (SSA's having only the segment name). Only in special instances like in a PATH call when we try to give 'REPL' , we can use qualified SSA's. Even these PATH call SSA's can be negated by using the command code 'N'.

So an unqualifed SSA as you mentioned in your post doesn't matter the 'REPL' call if you have already given a successful GHU or GHN call before it.

Regards,
Deepesh
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> IMS All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group