Generate XML as a result of an Enquiry Nofile

191 views
Skip to first unread message

T24 Technical Developer

unread,
Oct 20, 2009, 5:15:27 AM10/20/09
to jBASE
Hello,

Someone knows how to generate an XML flow from an Enquiry based on a
NOFILE standard Selection, it seems impossible to have this result for
me.
Thx for helps.

Artiom Popov

unread,
Oct 21, 2009, 10:53:08 AM10/21/09
to jBASE
It is impossible using standard functionality T24. You need to develop
your own decision.
I didn't do that, but I think you can do the following.
You can write a routine and recieve enquiry as response to OFS
request. Then you can format this response to xml.


On Oct 20, 2:15 pm, T24 Technical Developer <sami.lou...@gmail.com>
wrote:

Jim Idle

unread,
Oct 22, 2009, 10:20:11 PM10/22/09
to jb...@googlegroups.com
How did this get through without a T24: subject line? Please read the posting guidelines before posting questions to the list. Thanks,

Jim

Ram shankar

unread,
Oct 23, 2009, 10:07:52 AM10/23/09
to jb...@googlegroups.com
Hi,

I havent tried this before. I think using the below routine should help,

SUBROUTINE OFS.ENQUIRY.MANAGER(ENQ.ID, SEL.CRITERIA, RETURN.DATA, SYNTAX.TYPE)

You have to pass SYNTAX.TYPE as XML to acheive this. RETURN.DATA should have the result after this routine executed.

Thanks,
Ram

Rashid K.P

unread,
Oct 25, 2009, 8:25:27 AM10/25/09
to jb...@googlegroups.com
I' am not quite sure what exactly you are looking for ..  If your are looking for an XML output for an enquiry then , It is posible using T24 browser.  When you execute the enquiry after entering the selection creiteria instead of displaying , select the dropdown option Save as XML .

T24 Technical Developer

unread,
Oct 26, 2009, 4:22:29 AM10/26/09
to jBASE

Hi Rashid, Thx for your answer but I want generate automatically an
XML as result of my ENQUIRY

Rashid K.P

unread,
Oct 27, 2009, 10:08:28 AM10/27/09
to jb...@googlegroups.com
Hi ,
 
   In that case you can use  OFS.ENQUIRY.MANGER as suggested by  Ram above. 
 
   sample :
 
       SUBROUTINE TEST.ENQ
 
    $INSERT I_COMMON
    $INSERT I_EQUATE
    $INSERT I_ENQUIRY.COMMON
 
    ENQ.ID = 'STMT.ENT.BOOK'
    SEL.CRITERIA = 'ACCOUNT:EQ:=0001001001230018':@FM:'BOOKING.DATE:EQ:=20070929'
    RETURN.ARRAY = ''
    SYNTAX.TYPE = 'XML'
    CALL OFS.ENQUIRY.MANAGER(ENQ.ID,SEL.CRITERIA,RETURN.ARRAY,SYNTAX.TYPE)
    PRINT RETURN.ARRAY

    RETURN
END
Regards,
Rashid
Reply all
Reply to author
Forward
0 new messages