UniBasic Commands Reference - Rocket Software

UniBasic Commands Reference - Rocket Software UniBasic Commands Reference - Rocket Software

rocketsoftware.com
from rocketsoftware.com More from this publisher
11.04.2013 Views

C:\Program Files\Adobe\FrameMaker8\UniData 7.2\7.2rebranded\BASICREF\BASRX.fm 3/5/10 XMAPAppendRec Syntax XMAPAppendRec(XMAPhandle, file_name, record) Note: This function is case-sensitive. If you want it to be case-insensitive, you must compile your programs using the BASIC command with the -i option. Description The XMAPAppendRec function formats the specified record from the UniData file as a U2XMAP dataset record and appends it to the U2XMAP dataset. Parameters The following table describes each parameter of the syntax. Parameter Description 1-988 UniBasic Commands Reference XMAPhandle The handle to the U2XMAP dataset. The XMAPhandle parameter uses the in-encoding parameter set in the system-level or account-level xmlconfig file, the XMLSE- TOPTIONS command, or the XMLSetOptions() API for the input record value. file_name The name of the UniData file that is being mapped in the U2 XMAP dataset record The data record formatted according to the dictionary record of the UniData file. XMAPAppendRec Parameters

C:\Program Files\Adobe\FrameMaker8\UniData Return Values The following table describes the return values of the XMAPAppendRec function. Return Value Description XML_SUCCESS The XML document was opened successfully. XML_ERROR An error occurred opening the XML document. XML_INVALID_HANDLE The XMAP dataset was invalid. XMAPAppendRec Return Values XLATE 1-989

C:\Program Files\Adobe\FrameMaker8\UniData 7.2\7.2rebranded\BASICREF\BASRX.fm<br />

3/5/10<br />

XMAPAppendRec<br />

Syntax<br />

XMAPAppendRec(XMAPhandle, file_name, record)<br />

Note: This function is case-sensitive. If you want it to be case-insensitive, you<br />

must compile your programs using the BASIC command with the -i option.<br />

Description<br />

The XMAPAppendRec function formats the specified record from the UniData file<br />

as a U2XMAP dataset record and appends it to the U2XMAP dataset.<br />

Parameters<br />

The following table describes each parameter of the syntax.<br />

Parameter Description<br />

1-988 <strong>UniBasic</strong> <strong>Commands</strong> <strong>Reference</strong><br />

XMAPhandle The handle to the U2XMAP dataset.<br />

The XMAPhandle parameter uses the in-encoding parameter set<br />

in the system-level or account-level xmlconfig file, the XMLSE-<br />

TOPTIONS command, or the XMLSetOptions() API for the<br />

input record value.<br />

file_name The name of the UniData file that is being mapped in the<br />

U2 XMAP dataset<br />

record The data record formatted according to the dictionary<br />

record of the UniData file.<br />

XMAPAppendRec Parameters

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!