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

Can we give a GU call without IO-AREA?


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

New User


Joined: 23 Feb 2006
Posts: 10
Location: US

PostPosted: Tue May 08, 2007 11:43 am
Reply with quote

HI,

Can anyone answer this?
Can we give a GU call in IMS without IO-AREA???

eg:
like
CALL 'CBLTDLI' USING GU XXXX-PCB SSA.


Thanks,
GNVS
Back to top
View user's profile Send private message
Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Tue May 08, 2007 12:17 pm
Reply with quote

If you fetch segment Get Unique call without IO Area where can it store the value?

You definitely need an IO Area
Back to top
View user's profile Send private message
rameshfoa

New User


Joined: 05 Apr 2007
Posts: 27
Location: chennai

PostPosted: Tue May 08, 2007 12:34 pm
Reply with quote

Only for DLET call ...u dont need IO-AREA...
Back to top
View user's profile Send private message
Satish N V Godavarthi

New User


Joined: 23 Feb 2006
Posts: 10
Location: US

PostPosted: Tue May 08, 2007 1:19 pm
Reply with quote

Thanks for the replies.

Now i understand that I0-AREA is nessesary.

But, i do not want the values to be stored. I just need to check whether the value given in the SSA is present of not. Is there any way to do that?

Or Is there anything like a DUMMY IO-AREA which i can code in the call??

Please respond.

Thanks.
Back to top
View user's profile Send private message
rameshfoa

New User


Joined: 05 Apr 2007
Posts: 27
Location: chennai

PostPosted: Tue May 08, 2007 3:28 pm
Reply with quote

IF THE RETUN CODE BLANK SPACE THEN U CAN ASSUME THAT THE SSA IS SATISFIED AND RECORD FOUND...
Back to top
View user's profile Send private message
Satish N V Godavarthi

New User


Joined: 23 Feb 2006
Posts: 10
Location: US

PostPosted: Tue May 08, 2007 5:35 pm
Reply with quote

Once again thanks for the reply.

But this is not what i expected. I expected a call where we should not code an IO-AREA but make the call successfull.

If thats'nt possible lets leave it here.
Thanks.
Back to top
View user's profile Send private message
Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Tue May 08, 2007 8:40 pm
Reply with quote

For Get calls you need IO Area, and if you dont want to store IO area then you can declare IO AREA as 1 byte and drop remaining data.
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 May 09, 2007 1:56 am
Reply with quote

Try to perform an insert call with IO-area containing just the key you want to find. If you receive status code II (duplicate segment) the segment you searched for is there. Of course this only applies when the key/sequence value is defined unique in your DBD. You then also should know the path where to insert. This might be a faster way since the index is checked before insertion instead of segment-IO at a GU.
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 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
No new posts CICS DPL call CICS 6
Search our Forums:

Back to Top