View previous topic :: View next topic
|
Author |
Message |
Raghu navaikulam
Active User
Joined: 27 Sep 2008 Posts: 193 Location: chennai
|
|
|
|
Hi all,
I am not much good in IMS.
While doing a PSBGEN, I am getting an error.
"PCB180 - PROCOPT OPERAND IS INVALID"
In the PSB, I use PROCOPT=P for a path call. But while compiling I am getting the aboce message.
I am using a HDAM database. the following is the PCB macro.
Code: |
PRINT ON
PCB TYPE=DB,DBDNAME=HDAMTST,KEYLEN=14,PROCOPT=P
SENSEG NAME=A,PARENT=0
SENSEG NAME=B,PARENT=A
SENSEG NAME=C,PARENT=B
SENSEG NAME=E,PARENT=A
SENSEG NAME=F,PARENT=E
PSBGEN LANG=COBOL,PSBNAME=HDPSBTST
END |
Your advice is expected fr rectifying thi error.
Thanks in advance.
Raghunathan |
|
Back to top |
|
|
Akatsukami
Global Moderator
Joined: 03 Oct 2009 Posts: 1787 Location: Bloomington, IL
|
|
|
|
I believe that P may be specified for PROCOPT only in combination with other processing options. |
|
Back to top |
|
|
Raghu navaikulam
Active User
Joined: 27 Sep 2008 Posts: 193 Location: chennai
|
|
|
|
Thanks for your quick replay.
Could you please expand it a little more.
Thanks
Raghunathan |
|
Back to top |
|
|
Akatsukami
Global Moderator
Joined: 03 Oct 2009 Posts: 1787 Location: Bloomington, IL
|
|
|
|
A path call is one in which not only the requested segment but all its parents are returned. If path calls are to be used, the PCB statement must have PROCOPT=xP. However, the PCB must also define what types of processes are to be used (get, replace, etc.); that is the "x" in PROCOPT=xP. Specifying PROCOPT=P is invalid because it doesn't specify the types of processes. |
|
Back to top |
|
|
Raghu navaikulam
Active User
Joined: 27 Sep 2008 Posts: 193 Location: chennai
|
|
|
|
Thank you once again for your valuable replay. I will try it and post the result.
Regards
Raghunathan |
|
Back to top |
|
|
Raghu navaikulam
Active User
Joined: 27 Sep 2008 Posts: 193 Location: chennai
|
|
|
|
The issue has been solved by providing PROCOPT=AP.
Thanks for your valuable information. |
|
Back to top |
|
|
|