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
 

 

Getting error on PROCOPT=P option

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC
View previous topic :: :: View next topic  
Author Message
Raghu navaikulam

Active User


Joined: 27 Sep 2008
Posts: 186
Location: chennai

PostPosted: Wed Mar 23, 2016 5:55 pm    Post subject: Getting error on PROCOPT=P option
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: 1738
Location: Bloomington, IL

PostPosted: Wed Mar 23, 2016 8:34 pm    Post subject:
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: 186
Location: chennai

PostPosted: Wed Mar 23, 2016 11:43 pm    Post subject: Reply to: Getting error on PROCOPT=P option
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: 1738
Location: Bloomington, IL

PostPosted: Wed Mar 23, 2016 11:59 pm    Post subject:
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: 186
Location: chennai

PostPosted: Thu Mar 24, 2016 1:06 am    Post subject: Reply to: Getting error on PROCOPT=P option
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: 186
Location: chennai

PostPosted: Mon Mar 28, 2016 9:10 am    Post subject: Reply to: Getting error on PROCOPT=P option
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    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 S922 Error yuvan ABENDS & Debugging 3 Fri Dec 02, 2016 6:58 pm
No new posts Invoke Webservice Fails with DFHPI100... divated CICS 2 Thu Nov 24, 2016 5:57 pm
No new posts BWO option in VSAM blayek CICS 3 Sat Nov 05, 2016 10:47 am
No new posts Regarding COBOL Stored Procedure opti... selvamsrinivasan85 DB2 4 Fri Nov 04, 2016 8:57 pm
No new posts Error during restore rename archanamuthukrishnan All Other Mainframe Topics 2 Fri Oct 14, 2016 3:30 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us