We are working on a project to retrieve data from our mainframe CICS region. We are trying to use wM mainframe server. The problem is that the data returned to us is dynamic, so we need to be able to reference to a “chunk” of memory by different names. For example, we send a request to our company mainframe (via wM mainframe) with a policy number. This policy could be one of five types (let’s just call them type A, B, C, D, E). The mainframe CICS program does a look up using the policy number and retrieves the data, stores it in a copybook specific to the type, and then returns it to wM mainframe (the policy type is included in the response). By using the type we could map the data for each product.
The limitation seems to be within the wM mainframe tool.
If you have done COBOL programming you know that the REDEFINES option within a copybook will enable a COBOL programmer to slice-and-dice a chunk of memory many different ways. The million dollar question is: Does the webMethods mainframe tool recognize REDEFINES on import ? I find it hard to believe webMethods doesn’t handle REDEFINES. I noticed someone asked a similar question at the webMethods Advantage web site but there is no response.
Any ideas how to handle a dynamic response with wM mainframe ? (other than writing a custom parser ?)