Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

AS/400 program question - on behalf of a customer

Status
Not open for further replies.

aixmurderer

IS-IT--Management
Nov 28, 2000
603
NZ
Question from an AS/400 busness customer, any advice will be appreciated:

We use the sample program AMQ3SRV4 to put a message to a queue.

Within this program is a data structure ( TC2AI, positions 173 to 428 )
which defines where the program comes from
D* Application identifier
D TC2AI 173 428

The application identifier comes from the process definition.

PROCESS
Process name . . . . . . . . . . > 'SYSTEM.SAMPLE.INQPROCESS'

Message Queue Manager name . . . > 'SMIDEV'

Text 'description' . . . . . . . 'Trigger process for AMQSINQ4'

Application type . . . . . . . . *OS400 65536-999999999,
*OS400.
Application identifier . . . . . 'MQTEST/AMQ3INQ4'

User data . . . . . . . . . . . *NONE

Environment data . . . . . . . . 'JOBPTY(3)'


Therefore when we call program AMQ3SRV4 we expect the program named in
the Application identifier to be placed in positions 173 - 428 of the
data structure which in turns is then used in the command string CALL
PGM (MQTEST/AMQ3INQ4).

The problem is: the data structure is empty. IBM Certified Confused - MQSeries
IBM Certified Flabbergasted - AIX 5 pSeries System Administration
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top