UniBasic Commands Reference - Rocket Software
UniBasic Commands Reference - Rocket Software UniBasic Commands Reference - Rocket Software
C:\Program Files\Adobe\FrameMaker8\UniData 7.2\7.2rebranded\BASICREF\BASRX.fm 3/5/10 Parameter Description Return Values The following table describes the return values for the XMAPOpen function. 1-994 UniBasic Commands Reference u2xmapping_rules The name of the U2XMAP file, or the UniBasic variable containing the XML to Database mapping rules. u2xmap_flag A flag indicating if the mapping file is the U2XMAP file itself or a string located within the UniBasic program. Valid values are: XMAP.FROM.FILE - the mapping rules are contained in a U2XMAP file. XMAP.FROM.STRING - u2xmap_flag is the name of the variable containing the mapping rules. XMAPhandle The handle to the XMAP dataset. This API registers the current in-encoding and out-encoding parameters in the XMAPhandle. These parameters are used throughout the life of the XMAPhandle. XMAPOpen Parameters (continued) Return Value Description XML_SUCCESS The XML document was opened successfully. XML_ERROR An error occurred opening the XML document. XMAPOpen Return Values
C:\Program Files\Adobe\FrameMaker8\UniData XMAPReadNext Syntax XMAPReadNext(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 XMAPReadNext function retrieves the next record from the U2XMAP dataset and formats it as a record of the UniData file that is being mapped. Parameters The following table describes each parameter of the syntax. Parameter Description XMAPhandle The U2XMAP dataset handle. The XMAPhandle parameter uses the out-encoding parameter set in the system-level or account-level xmlconfig file, the XMLSETOPTIONS command, or the XMLSetOptions() API for the record value. file_name The name of the UniData file that is being mapped in the U2XMAP dataset. record The data record formatted according to the dictionary record of the file. XMAPReadNext Parameters XMAPReadNext 1-995
- Page 1010 and 1011: C:\Program Files\Adobe\FrameMaker8\
- Page 1012 and 1013: C:\Program Files\Adobe\FrameMaker8\
- Page 1014 and 1015: C:\Program Files\Adobe\FrameMaker8\
- Page 1016 and 1017: C:\Program Files\Adobe\FrameMaker8\
- Page 1018 and 1019: C:\Program Files\Adobe\FrameMaker8\
- Page 1020 and 1021: C:\Program Files\Adobe\FrameMaker8\
- Page 1022 and 1023: C:\Program Files\Adobe\FrameMaker8\
- Page 1024 and 1025: C:\Program Files\Adobe\FrameMaker8\
- Page 1026 and 1027: C:\Program Files\Adobe\FrameMaker8\
- Page 1028 and 1029: C:\Program Files\Adobe\FrameMaker8\
- Page 1030 and 1031: C:\Program Files\Adobe\FrameMaker8\
- Page 1032 and 1033: C:\Program Files\Adobe\FrameMaker8\
- Page 1034 and 1035: C:\Program Files\Adobe\FrameMaker8\
- Page 1036 and 1037: C:\Program Files\Adobe\FrameMaker8\
- Page 1038 and 1039: C:\Program Files\Adobe\FrameMaker8\
- Page 1040 and 1041: C:\Program Files\Adobe\FrameMaker8\
- Page 1042 and 1043: C:\Program Files\Adobe\FrameMaker8\
- Page 1044 and 1045: C:\Program Files\Adobe\FrameMaker8\
- Page 1046 and 1047: C:\Program Files\Adobe\FrameMaker8\
- Page 1048 and 1049: C:\Program Files\Adobe\FrameMaker8\
- Page 1050 and 1051: C:\Program Files\Adobe\FrameMaker8\
- Page 1052 and 1053: C:\Program Files\Adobe\FrameMaker8\
- Page 1054 and 1055: C:\Program Files\Adobe\FrameMaker8\
- Page 1056 and 1057: C:\Program Files\Adobe\FrameMaker8\
- Page 1058 and 1059: C:\Program Files\Adobe\FrameMaker8\
- Page 1062 and 1063: C:\Program Files\Adobe\FrameMaker8\
- Page 1064 and 1065: C:\Program Files\Adobe\FrameMaker8\
- Page 1066 and 1067: C:\Program Files\Adobe\FrameMaker8\
- Page 1068 and 1069: C:\Program Files\Adobe\FrameMaker8\
- Page 1070 and 1071: C:\Program Files\Adobe\FrameMaker8\
- Page 1072 and 1073: C:\Program Files\Adobe\FrameMaker8\
- Page 1074 and 1075: C:\Program Files\Adobe\FrameMaker8\
- Page 1076 and 1077: C:\Program Files\Adobe\FrameMaker8\
- Page 1078 and 1079: ASCII Character Codes This appendix
- Page 1080 and 1081: A-3 UniBasic Commands Reference ASC
- Page 1082 and 1083: A-5 UniBasic Commands Reference ASC
- Page 1084 and 1085: A-7 UniBasic Commands Reference ASC
- Page 1086 and 1087: A-9 UniBasic Commands Reference ASC
- Page 1088 and 1089: A-11 UniBasic Commands Reference AS
- Page 1090 and 1091: UniBasic@variables This appendix li
- Page 1092 and 1093: B-3 UniBasic Commands Reference @va
- Page 1094 and 1095: @USER0 @USER1 @USER2 @USER3 @USER4
- Page 1096 and 1097: B-7 UniBasic Commands Reference @SY
- Page 1098 and 1099: B-9 UniBasic Commands Reference Uni
- Page 1100 and 1101: C-2 UniBasic Commands Reference Ari
- Page 1102 and 1103: C-4 UniBasic Commands Reference Boo
- Page 1104 and 1105: Reserved Words This appendix lists
- Page 1106 and 1107: D-3 UniBasic Commands Reference Res
- Page 1108 and 1109: D-5 UniBasic Commands Reference Res
C:\Program Files\Adobe\FrameMaker8\UniData 7.2\7.2rebranded\BASICREF\BASRX.fm<br />
3/5/10<br />
Parameter Description<br />
Return Values<br />
The following table describes the return values for the XMAPOpen function.<br />
1-994 <strong>UniBasic</strong> <strong>Commands</strong> <strong>Reference</strong><br />
u2xmapping_rules The name of the U2XMAP file, or the <strong>UniBasic</strong> variable<br />
containing the XML to Database mapping rules.<br />
u2xmap_flag A flag indicating if the mapping file is the U2XMAP file itself<br />
or a string located within the <strong>UniBasic</strong> program. Valid values<br />
are:<br />
XMAP.FROM.FILE - the mapping rules are contained in a<br />
U2XMAP file.<br />
XMAP.FROM.STRING - u2xmap_flag is the name of the<br />
variable containing the mapping rules.<br />
XMAPhandle The handle to the XMAP dataset.<br />
This API registers the current in-encoding and out-encoding<br />
parameters in the XMAPhandle. These parameters are used<br />
throughout the life of the XMAPhandle.<br />
XMAPOpen Parameters (continued)<br />
Return Value Description<br />
XML_SUCCESS The XML document was opened successfully.<br />
XML_ERROR An error occurred opening the XML document.<br />
XMAPOpen Return Values