View previous topic :: View next topic
|
Author |
Message |
pingte
Active User
Joined: 03 Dec 2005 Posts: 120 Location: india
|
|
|
|
Hi,
My system uses EXEC DLI for all IMS call instead of conventional CALL CBLTDLI.
It seems there is no direct GHNP call when using EXEC DLI.
You can see the comparsion between EXEC DLI and CALL DLI cmds here
(See TABLE 6)
http://publib.boulder.ibm.com/infocenter/cicsts/v3r1/index.jsp?topic=/com.ibm.cics.ts31.doc/dfht4/toc.htm
i tried the following:
Code: |
EXEC DLI GNP
USING
PCB (DB-PCB-NO)
SEGMENT (X)
SETPARENT
WHERE (keyX=WS-A)
SEGMENT (B)
INTO (segB-REC)
END-EXEC
|
This is followed a REPL call
Code: |
EXEC DLI REPL
USING
PCB (DB-PCB-NO)
SEGMENT (B)
FROM (segB-REC)
END-EXEC
|
This code works fine for one time. but when i loop it UNTIL GE/GB for segB it abends (for GNP call), it abends with GP status code.
Can some one help me with this logic? |
|
Back to top |
|
|
Sandy Zimmer
Active Member
Joined: 13 Jun 2007 Posts: 826 Location: Wilmington, DE
|
|
|
|
Why are you setting parentage? |
|
Back to top |
|
|
pingte
Active User
Joined: 03 Dec 2005 Posts: 120 Location: india
|
|
|
|
Before the GNP loop.. I have a GHU call...
The sequence of calls is like this...
1. GHU
2. REPL
3. LOOP -> GNP + REPL till GE /GB for seg B |
|
Back to top |
|
|
Sandy Zimmer
Active Member
Joined: 13 Jun 2007 Posts: 826 Location: Wilmington, DE
|
|
|
|
You always need to HOLD a segment before any replace or delete. So, you should be using GHNP or GHN. |
|
Back to top |
|
|
|