The Get samples for the CICS environment

 

The transactions take the following parameters in an EXEC PARM, separated by commas:

  1. The number of messages to get (up to four digits)

  2. The browse/get message option (one character: B to browse or D to destructively get the messages)

  3. The syncpoint control (one character: S for syncpoint or N for no syncpoint)

  4. The name of the target queue (48 characters)

If you enter any of the above parameters incorrectly, you receive appropriate error messages.

For the COBOL sample, invoke the Get sample in the CICS environment by entering:

  MVGT,9999,B,S,QUEUE.NAME

For the C sample, invoke the Get sample in the CICS environment by entering:

  MCGT,9999,B,S,QUEUE.NAME

When the messages are retrieved from the queue, they are put on a CICS temporary storage queue with the same name as the CICS transaction (for example, MCGT for the C sample).

Here is example output of the Get samples:

****************************  TOP OF QUEUE  ************************
000000000 : 000000010: **********
000000001 : 000000010 :**********
***************************  BOTTOM OF QUEUE  **********************

 

Parent topic:

The Get samples


fg18310_