Hi, I want to write a Routine --> Call to an Enquiry (ex: CURRENCY-LIST) -->
Data return in XML format.

I need Enquiry result in XML format for Print

In T24 I have OFS.SOURCE record named XML:
   1 DESCRIPTION....... XML integration into OFS
   2 SOURCE.TYPE....... BATCH
   4. 1 EB.PHANT.ID.... XML
   5 MAX.CONNECTIONS... 1
  13 LOG.FILE.DIR...... xmllog
  14 LOG.DETAIL.LEVEL.. FULL
  15 OFFLINE.QUEUE..... Y
  16 MAINT.MSG.DETS.... Y
  17 DET.PREFIX........ XML
  18 IN.QUEUE.DIR...... xmlin
  20 OUT.QUEUE.DIR..... xmlout
  24 SYNTAX.TYPE....... XML
  26 GENERIC.USER...... INPUTTER
  42 CURR.NO........... 1

In my Routine, I've tried with these lines:
Y.SOURCE = "ENQUIRY.SELECT,,INPUTTER/123456,CURRENCY-LIST,@ID:EQ=USD"
CALL OFS.GLOBUS.MANAGER("XML", Y.SOURCE)
CRT Y.SOURCE

Y.SOURCE result here:
<ofsResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="ofsResponse.xsd"><response><responseType>.RETURN</responseType><recordId></recordId><messageId></messageId><successFail>-1</successFail><accepted></accepted><data><result><fieldName></fieldName><multiValueNumber></multiValueNumber><subValueNumber></subValueNumber><errorText>APPLICATION
/ OPERATION MISSING</errorText></result></data></response></ofsResponse>


I don't know how to config in T24, and does this CALL
OFS.GLOBUS.MANAGER("XML", Y.SOURCE) correct.

Please help me.

Thanks in advance.

-- 
Please read the posting guidelines at: 
http://groups.google.com/group/jBASE/web/Posting%20Guidelines

IMPORTANT: Type T24: at the start of the subject line for questions specific to 
Globus/T24

To post, send email to [email protected]
To unsubscribe, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en

Reply via email to