0% found this document useful (0 votes)
110 views

Steps To Create Service Profile Using RFHUtility

The document provides steps to update existing service profiles (SPs) and create new SPs on Tandem queues. To update an existing SP, the message is retrieved from the queue, edited locally, and written back with the same message ID. To create a new SP, a new message is constructed following the defined structure, and assigned a new unique message ID and correlation ID derived from the service name and version.

Uploaded by

mohsids4u
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
110 views

Steps To Create Service Profile Using RFHUtility

The document provides steps to update existing service profiles (SPs) and create new SPs on Tandem queues. To update an existing SP, the message is retrieved from the queue, edited locally, and written back with the same message ID. To create a new SP, a new message is constructed following the defined structure, and assigned a new unique message ID and correlation ID derived from the service name and version.

Uploaded by

mohsids4u
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

For updating existing SPs follow below steps:

1) Open the RFH utility on winmwd1 box under path: E:\RFH_Utility\ih03\rfhutilc


2) Under Queue Manager Name tab, give respective details as below and click on Load Names
button:
SYSTEM.ADMIN.SVRCONN/TCP/tandem-mqusp.pb.com (1414) – Tandem US Prod
SYSTEM.ADMIN.SVRCONN/TCP/tandem-mqusd.pb.com (1418) – Tandem US Dev
SYSTEM.ADMIN.SVRCONN/TCP/tandem-mqcap.pb.com (1417) – Tandem CA Prod
SYSTEM.ADMIN.SVRCONN/TCP/tandem-mqcad.pb.com (1419) – Tandem CA Dev
SYSTEM.ADMIN.SVRCONN/TCP/nstandem-prod.uk.pb.com (1414) – Tandem UK Prod
SYSTEM.ADMIN.SVRCONN/TCP/nstandem-dr.uk.pb.com (1418) – Tandem UK Dev

3) Once we see all the queues listed under Queue name tab. Using drop down list look for queue:
QL.MD.COBOL.SERVICE.PROFILES.
4) Click on Display Q
5) Select the required message number and click on browse queue
6) Go back to Data tab and verify the content of the message is correct as required.
7) Go to MQMD tab and make a note of Msgid and CorrelationId for future use.
8) Then CLick on Save Q to save the message locally for editing (Unselect Incl MQMD and Incl
Header tab) and give the exact message number in the start Msg tab and 1 in the next tab.
9) Then Edit the message in textpad with Insert option ON. Make sure the total size of the message
is always 423 bytes.

To Write the message back to Queue:

1) Go to Utility and Click on Open FIle and browse the updated file and click OK.
2) Once the Data is loaded, validate it by going to Data tab.
3) Then update the Msgid and correlation id saved previosly in MQMD tab.
4) Make sure to uncheck the New Msgid field from Main tab.
5) Then change the queue name to STAGING queue
6) Now click on Write Q.

For creating new SP, follow below steps:

1) Take one SP for a reference to edit the new serviceprofile.


2) Follow the same step as mentioned above to edit the data, but follow the below
structure:

COBOL.SERVICE.PROFILES message structure as defined for PQEdit:


*******************************************************************
* COBSVCPROF - Structure for Cobol Service Profiles *
*******************************************************************
DEFSTRUCT COBSVCPROF
CHAR 40 INCLUDE Service_Name
CHAR 8 INCLUDE Filler_1
CHAR 8 INCLUDE Service_Version
CHAR 4 INCLUDE Service_Type
CHAR 8 INCLUDE Queue_Manager
CHAR 48 INCLUDE Send_QALIAS
CHAR 48 INCLUDE Receive_QALIAS
CHAR 48 INCLUDE Reject_QALIAS
CHAR 32 INCLUDE MQSI_Appl_Group
CHAR 32 INCLUDE MQSI_Message_Type
CHAR 1 INCLUDE Send_Priority
CHAR 1 INCLUDE Send_Persistence
CHAR 1 INCLUDE Syncpoint_Flag
CHAR 1 INCLUDE CorrelID_Flag
CHAR 1 INCLUDE PBIH_Flag
CHAR 8 INCLUDE Receive_Wait
CHAR 8 INCLUDE Send_Expiry
CHAR 8 INCLUDE Data_Length
CHAR 8 INCLUDE Backout_Max
CHAR 1 INCLUDE Debug_Level
CHAR 1 INCLUDE Logical_Order
CHAR 1 INCLUDE All_Msgs_Available
CHAR 2 INCLUDE Filler_2
CHAR 48 INCLUDE Comment_1
CHAR 48 INCLUDE Comment_2
CHAR 9 INCLUDE EOM_Tag
3) Once the data is edited correctly keeping all the fields intact follow the same procedure
as mentioned about to write it back to queue. Only change is in creating new Msgid and
Co-relation id.
4) For creating new Msgid and co-relation id follow below step:
Msgid and co-relation id has been created using SERVICE NAME and PROGRAM ID. For Msgid, select 1 to
24 bytes(total 24 bytes) from start. And for correlation Id should be from 25th to 40th characters of Service
name (16 bytes) + 8 bytes of Service_Version, so in total 24 bytes.

Use the below link to convert asci to hexa.


http://www.rapidtables.com/convert/number/ascii-to-hex.htm

Once it displays the Hexa value, remove all spaces in between and make sure its 48 byte. And use the
same as msgid and co-relation id respectively and follow step number 5 and 6 as mentioned above.

You might also like