View previous topic :: View next topic
|
Author |
Message |
Satish N V Godavarthi
New User
Joined: 23 Feb 2006 Posts: 10 Location: US
|
|
|
|
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 |
|
|
Devzee
Active Member
Joined: 20 Jan 2007 Posts: 684 Location: Hollywood
|
|
|
|
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 |
|
|
rameshfoa
New User
Joined: 05 Apr 2007 Posts: 27 Location: chennai
|
|
|
|
Only for DLET call ...u dont need IO-AREA... |
|
Back to top |
|
|
Satish N V Godavarthi
New User
Joined: 23 Feb 2006 Posts: 10 Location: US
|
|
|
|
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 |
|
|
rameshfoa
New User
Joined: 05 Apr 2007 Posts: 27 Location: chennai
|
|
|
|
IF THE RETUN CODE BLANK SPACE THEN U CAN ASSUME THAT THE SSA IS SATISFIED AND RECORD FOUND... |
|
Back to top |
|
|
Satish N V Godavarthi
New User
Joined: 23 Feb 2006 Posts: 10 Location: US
|
|
|
|
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 |
|
|
Devzee
Active Member
Joined: 20 Jan 2007 Posts: 684 Location: Hollywood
|
|
|
|
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 |
|
|
Bitneuker
CICS Moderator
Joined: 07 Nov 2005 Posts: 1104 Location: The Netherlands at Hole 19
|
|
|
|
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 |
|
|
|