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: 7315

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 Identifying Interfaces in CICS/mainframe Ashishpanpaliya CICS 5 Fri Oct 13, 2017 3:21 pm
No new posts How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
No new posts Accessing CICS tran with map from JCL... navdeepaggarwal CICS 5 Tue Oct 03, 2017 6:15 pm
No new posts Partial color change of a field in CI... waseem0424 CICS 5 Fri Sep 29, 2017 7:56 pm
No new posts FUSE - IBM MQ - CICS integration error Kevin Vaz CICS 1 Mon Sep 18, 2017 4:31 pm

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