skip to main content

Internal Objects : XMLStream Class (com.iscobol.rts.XMLStream) : Constructor

Constructor
Creates a new instance of the XMLStream class.
General format
Syntax rules
1.
Record-Definition is a level 01 group data item for which the IS IDENTIFIED clause has been specified.
General rules
1.
When a new instance of XMLStream is created, the data item identified by Record-Definition is associated with the new object.
Code example
configuration section.
    class xmlStream  as "com.iscobol.rts.XMLStream"
working-storage section.
77 objXmlStream object reference xmlStream.
01 Record-Definition identified by "Record-Definition".
   (XML fields and/or attributes)
procedure division.
set objXmlStream to xmlStream:>new(Record-Definition)
Note: Record-Definition can be obtained with the help of STREAM2WRK utility.

Copyright (c) 2017 Veryant
Contact us
Please share your comments on this manual or on any
Veryant product documentation with the email button at the top left