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

Getting error on PROCOPT=P option


IBM Mainframe Forums -> IMS DB/DC
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Raghu navaikulam

Active User


Joined: 27 Sep 2008
Posts: 193
Location: chennai

PostPosted: Wed Mar 23, 2016 5:55 pm
Reply with quote

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
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1788
Location: Bloomington, IL

PostPosted: Wed Mar 23, 2016 8:34 pm
Reply with quote

I believe that P may be specified for PROCOPT only in combination with other processing options.
Back to top
View user's profile Send private message
Raghu navaikulam

Active User


Joined: 27 Sep 2008
Posts: 193
Location: chennai

PostPosted: Wed Mar 23, 2016 11:43 pm
Reply with quote

Thanks for your quick replay.

Could you please expand it a little more.

Thanks
Raghunathan
Back to top
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1788
Location: Bloomington, IL

PostPosted: Wed Mar 23, 2016 11:59 pm
Reply with quote

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
View user's profile Send private message
Raghu navaikulam

Active User


Joined: 27 Sep 2008
Posts: 193
Location: chennai

PostPosted: Thu Mar 24, 2016 1:06 am
Reply with quote

Thank you once again for your valuable replay. I will try it and post the result.

Regards
Raghunathan
Back to top
View user's profile Send private message
Raghu navaikulam

Active User


Joined: 27 Sep 2008
Posts: 193
Location: chennai

PostPosted: Mon Mar 28, 2016 9:10 am
Reply with quote

The issue has been solved by providing PROCOPT=AP.

Thanks for your valuable information.
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 to read log with rexx CLIST & REXX 11
No new posts Error when install DB2 DB2 2
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts SCOPE PENDING option -check data DB2 2
No new posts OUTFIL with SAVE option DFSORT/ICETOOL 7
Search our Forums:

Back to Top