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

Invalid Program when executing in BMP mode


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

New User


Joined: 02 Nov 2006
Posts: 22

PostPosted: Mon Feb 12, 2007 5:51 pm
Reply with quote

Hi,

I am tryin to execute a program in BMP mode...

But on startin the program:

/STA PROG <prg name>

/DIS PROG <prg name>

its giving the following msg,

PROGRAM TRAN TYPE
ITBP6060 IS INVALID
*07043/065022*

ne idea what could be the problem..

thanks in advance..
Back to top
View user's profile Send private message
Bitneuker

CICS Moderator


Joined: 07 Nov 2005
Posts: 1104
Location: The Netherlands at Hole 19

PostPosted: Mon Feb 12, 2007 6:34 pm
Reply with quote

BMP's are usually started by JCL and may be processing messages but no screens. What you describe is a typical startup for an MPP. Could you explain what the application is supposed to do? Also the PSB might bring light.
Back to top
View user's profile Send private message
garv_fundu
Warnings : 1

New User


Joined: 02 Nov 2006
Posts: 22

PostPosted: Mon Feb 12, 2007 9:40 pm
Reply with quote

What we generally do for a BMP run is that we go into the test region and start all the necessary databases(if any) and the correponding program before submitting the JCL.

But this time it is showing an error message.

Also what is the transaction for a program?
I think the problem lies around it.
Back to top
View user's profile Send private message
Bitneuker

CICS Moderator


Joined: 07 Nov 2005
Posts: 1104
Location: The Netherlands at Hole 19

PostPosted: Mon Feb 12, 2007 10:59 pm
Reply with quote

During SYSGEN a transaction is defined for the corresponding program. A transaction NS points to the application TPNSVER, so when we enter NS the IMS system knows it has to load TPNSVER into the region if it's not present yet. Your message suggests the transaction exists but is of a wrong type. Ask your system administrator how he defined it. Here you may learn about transaction types; just follow next page.
Back to top
View user's profile Send private message
garv_fundu
Warnings : 1

New User


Joined: 02 Nov 2006
Posts: 22

PostPosted: Tue Feb 13, 2007 6:55 pm
Reply with quote

Hi all,
Since the transaction for the existing program was invalid...

I tried executing the program by renaming it to some other program with a valid transaction but keeping the PSBname in the EXEC statement of the JCL same as before.

It gave an abend 0428.

Explanation for the error: A batch message processing (BMP) step or a Fast Path (IFP) region could not be initiated because the PSB named in the third positional operand of the PARM field on the EXEC control statement was not defined at system definition time.

So, any solution or ways to proceed with now....
Back to top
View user's profile Send private message
Bitneuker

CICS Moderator


Joined: 07 Nov 2005
Posts: 1104
Location: The Netherlands at Hole 19

PostPosted: Tue Feb 13, 2007 7:33 pm
Reply with quote

Can you post your JCL containing the DFSRRC00? What does the IMS-screen show when you type /DIS TRAN trx? Your PSB should be shown like this:
Code:
                                                                           
     TRAN     CLS ENQCT   QCT   LCT  PLCT CP NP LP SEGSZ SEGNO PARLM    RC 
    NS         2     3     0 65535     3  9  9 13     0     0  NONE     0   
        PSBNAME: TPNSVER                                                   
    *07044/150211*                                                         
Back to top
View user's profile Send private message
Bitneuker

CICS Moderator


Joined: 07 Nov 2005
Posts: 1104
Location: The Netherlands at Hole 19

PostPosted: Tue Feb 13, 2007 7:37 pm
Reply with quote

In addition to your 0426 code:
Quote:
Programmer Response: Get a list of PSBs defined at IMS system definition and find the correct name of the one desired. Correct the PSB name in the third positional operand of the PARM field on the EXEC statement, and resubmit the BMP for execution.



So you should pick a convenient PSB which is defined during SYSGEN.
Back to top
View user's profile Send private message
garv_fundu
Warnings : 1

New User


Joined: 02 Nov 2006
Posts: 22

PostPosted: Tue Feb 13, 2007 8:06 pm
Reply with quote

TRAN CLS ENQCT QCT LCT PLCT CP NP LP SEGSZ SEGNO PARLM RC
ITBP6060 IS INVALID
*07044/093443*


JCL:

//$ITS664B EXEC PGM=DFSRRC00,REGION=0M,
// PARM=(BMP,ITBP6094,ITBP6060,,,,,,&CHKPT,,,,,
// IMSD,IMSTEST)
//STEPLIB DD DSN=PROJ.MFCLNUP.IMS24X7.LINK.LIB,DISP=SHR

//DFSRESLB DD DSN=IMSD.PP0300.RESLIB,DISP=SHR

//IMS DD DSN=CBC.IMSVSD.DBDLIB,DISP=SHR
// DD DSN=CBC.IMSVSD.PSBLIB,DISP=SHR
Back to top
View user's profile Send private message
Bitneuker

CICS Moderator


Joined: 07 Nov 2005
Posts: 1104
Location: The Netherlands at Hole 19

PostPosted: Tue Feb 13, 2007 9:40 pm
Reply with quote

Quote:
by renaming it to some other program with a valid transaction


Yet you seem to have done a /DIS TRAN ITBP6060 which was already the invalid one icon_question.gif

Anyway....back to the start with some questions:

What is your BMP supposed to do?
Does it process messages?
Are DBD and PSB defined and present in the DBD- & PSBLIB?
Why do you think it needs a transaction?
Is the transaction (if needed at all) defined during SYSGEN?
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 Using API Gateway from CICS program CICS 0
No new posts Calling Java method from batch COBOL ... COBOL Programming 5
No new posts DB2 Event passed to the Application P... DB2 1
No new posts How to pass the PARM value to my targ... COBOL Programming 8
No new posts REXX code to expand copybook in a cob... CLIST & REXX 2
Search our Forums:

Back to Top