Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Batch CICS/DB2 Program Parameters

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
Roy Ware

New User


Joined: 19 Sep 2013
Posts: 14
Location: USA

PostPosted: Wed Jun 03, 2015 10:33 pm    Post subject: Batch CICS/DB2 Program Parameters
Reply with quote

I got assigned the job of creating a program that reads a CICS queue (MQ series) and writes the messages to DB2.

The program has to be flexible to access the proper queue for each environment. The problem is, the parms aren't passing. Here's what I've tried:

Code:
 DSN SYSTEM(DSNT)                     
 RUN PROGRAM(BOM00150) PLAN(BOMDBAT) -
 PARMS('ABCDEFGHIJKLMNOPQRSTUVWXYZ') 
END                                   


and
Code:
//BOM00150 EXEC PGM=IKJEFT1B,PARM=('ABCDEFGHIJKLMNOPQRSTUVWXYZ')


Neither work. I've accomplished this before with just a DB2 program, but working with the queue has set me back considerably.

What I get for both attempts is hex zeroes (low values).
Back to top
View user's profile Send private message

Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7314

PostPosted: Wed Jun 03, 2015 10:44 pm    Post subject: Reply to: Batch CICS/DB2 Program Parameters
Reply with quote

With the first, unless told otherwise, Language Environment is eating your parameter.

With the second, TSO-in-batch is eating your parameter.

You need to use the first and have a "/" preceding your parameter, or to tell LE that its parameters are second (after the "/").
Back to top
View user's profile Send private message
Roy Ware

New User


Joined: 19 Sep 2013
Posts: 14
Location: USA

PostPosted: Fri Jun 12, 2015 5:44 pm    Post subject:
Reply with quote

That did the trick, Bill. Thanks!
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 -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to delete a VSAM dataset from ins... Mike.Fulton JCL & VSAM 6 Fri Feb 15, 2019 5:58 am
No new posts Suggestion on KSDS VSAM READ in CICS subratarec CICS 5 Wed Feb 13, 2019 4:42 pm
No new posts Convert CICS Modules to AMODE ANY CICSWOLF PL/I & Assembler 6 Fri Feb 08, 2019 7:10 pm
No new posts How to specify TCBLIMIT for DB2CONN i... Mike.Fulton CICS 3 Thu Feb 07, 2019 1:27 am
No new posts CKTI not started in CICS 5.4 danik56 CICS 13 Thu Jan 31, 2019 12:13 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us