Q
Problem solve Get help with specific problems with your technologies, process and projects.

Getting a Web extract right

Editor's Note: Jerald W. Johnson, manager of CICS and MQ Systems programming at UCLA Healthcare, has answered this...

question for us.


I'm doing a Web extract to get the query string that contains multiple name/value pairs. Do I have to parse the result manually to get the individual name/value pairs, or is there a better way of doing this. The query string data contains two name/value pairs -- page=zz1234&seltran=BS99.
Program DFHWBPA is supplied to do just what you are requesting. LINK to DFHWBPA with a COMMAREA ( max length of 4K). The COMMAREA should contain the symbol name you wish, followed by two && symbols, and then followed by the symbol string. If the symbol is found, its value will be return at the beginning of the COMMAREA. This program will only return the data for one symbol, so repeated LINK's are necessary to extract multiple symbols. Documentation for DFHWBPA can be found in the CICS Internet Guide.
This was last published in April 2005

Dig Deeper on IBM system z and mainframe systems

PRO+

Content

Find more PRO+ content and other member only offers, here.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchWindowsServer

SearchServerVirtualization

SearchCloudComputing

Close