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
 

 

Invalid Program when executing in BMP mode

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC
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    Post subject: Invalid Program when executing in BMP mode
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: 1105
Location: The Netherlands at Hole 19

PostPosted: Mon Feb 12, 2007 6:34 pm    Post subject:
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    Post subject:
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: 1105
Location: The Netherlands at Hole 19

PostPosted: Mon Feb 12, 2007 10:59 pm    Post subject:
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    Post subject:
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: 1105
Location: The Netherlands at Hole 19

PostPosted: Tue Feb 13, 2007 7:33 pm    Post subject:
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: 1105
Location: The Netherlands at Hole 19

PostPosted: Tue Feb 13, 2007 7:37 pm    Post subject:
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    Post subject:
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: 1105
Location: The Netherlands at Hole 19

PostPosted: Tue Feb 13, 2007 9:40 pm    Post subject:
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    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 Writing a file using online program grvtomar PL/I & Assembler 3 Fri Jun 30, 2017 1:06 pm
No new posts pre-compiler for program in an HFS Pedro DB2 0 Fri Jun 23, 2017 11:13 pm
No new posts Compiling program in endeavor for tra... RALAKKAL Compuware & Other Tools 4 Mon Jun 05, 2017 8:27 pm
No new posts COBOL DB2 program - zIIP eligible vasanthz COBOL Programming 7 Wed May 31, 2017 5:12 am
No new posts DB2 Program abending without giving a... rahulgarg14 DB2 7 Mon May 29, 2017 8:10 pm


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