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
 

 

Can we give a GU call without IO-AREA?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC
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    Post subject: Can we give a GU call without IO-AREA?
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    Post subject:
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    Post subject:
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    Post subject: Re: Can we give a GU call without IO-AREA?
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    Post subject:
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    Post subject:
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    Post subject:
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: 1105
Location: The Netherlands at Hole 19

PostPosted: Wed May 09, 2007 1:56 am    Post subject:
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    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