<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Request Procedures :: Aperio Documentation</title><link>/rpg/request/index.html</link><description>Chapter 6.1 RPG Request Procedures This chapter describes procedures used to read incoming request string.</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Mon, 01 Jan 0001 00:00:00 +0000</lastBuildDate><atom:link href="/rpg/request/index.xml" rel="self" type="application/rss+xml"/><item><title>reqExist()</title><link>/rpg/request/reqexist/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/rpg/request/reqexist/index.html</guid><description>This procedure checks if given object exists.
Parameter Type Description baseNode 1024A VARYING, VARSIZE Mandatory This parameter is used to pass base node. Currently following base nodes are supproted: “IptorAPI”, “method”, “params”, “messages”, “control”, “id” node 1024A VARYING, VARSIZE Optional Node name. This parameter is optional. If the structure is more complex then nodes must be divided by colon “:” The procedure returns *ON if object exists or *OFF if object do not exist. Usually procedure reqExist is used in “if” statement.</description></item><item><title>reqFieldExist()</title><link>/rpg/request/reqfieldexist/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/rpg/request/reqfieldexist/index.html</guid><description>This procedure checks if given field exists in request “control:fields” section. There is special section in request. Caller can use this section to subset returned data. This procedure is mostly used internally in API framework and there is no needs to use it from RPG manager program.
Parameter Type Description fieldName 1024A VARYING, VARSIZE Mandatory Name of field which is searched in request “control”{“fields”:[…] table Function reqFieldExist checks if given field exists in section “control:fields”. If so, it returns *ON. If not exists then return *OFF. If there is no section control, then procedure always returns *ON.</description></item><item><title>reqGet3StateValue()</title><link>/rpg/request/reqget3statevalue/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/rpg/request/reqget3statevalue/index.html</guid><description>This procedure retrieves 3-State value for given node string.
Parameter Type Description baseNode 1024A VARYING, VARSIZE Mandatory This parameter is used to pass base node. Currently following base nodes are supproted: “IptorAPI”, “method”, “params”, “messages”, “control”, “id” node 1024A VARYING, VARSIZE Optional Node name. This parameter is optional. If the structure is more complex then nodes must be divided by colon “:” patern 10i 0 VARSIZE Optional Conversion pattern (see patterns) valueType 1A Optional Returns type of value (see types of value) exists N Optional Returns *ON if value exists, *OFF if value does not exit Procedure returns character vale depend on pattern (see patterns). In case of error the returned value is ‘ERROR’</description></item><item><title>reqGetBlobValue()</title><link>/rpg/request/reqgetblobvalue/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/rpg/request/reqgetblobvalue/index.html</guid><description>This procedure retrieves Blob value for given node string.
Parameter Type Description baseNode 1024A VARYING, VARSIZE Mandatory This parameter is used to pass base node. Currently following base nodes are supproted: “IptorAPI”, “method”, “params”, “messages”, “control”, “id” node 1024A VARYING, VARSIZE Optional Node name. This parameter is optional. If the structure is more complex then nodes must be divided by colon “:” valueLength 10U 0 Optional Returns length of Value in bytes valueType 1A Optional Returns type of value (see types of value) exists N Optional Returns *ON if value exists, *OFF if value does not exit The procedure returns poiner to Blob value in memory.</description></item><item><title>reqGetBooleanValue()</title><link>/rpg/request/reqgetbooleanvalue/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/rpg/request/reqgetbooleanvalue/index.html</guid><description>This procedure retrieves Boolean value for given object.
Parameter Type Description baseNode 1024A VARYING, VARSIZE Mandatory This parameter is used to pass base node. Currently following base nodes are supproted: “IptorAPI”, “method”, “params”, “messages”, “control”, “id” node 1024A VARYING, VARSIZE Optional Node name. This parameter is optional. If the structure is more complex then nodes must be divided by colon “:” patern 10i 0 VARSIZE Optional Conversion pattern (see patterns) valueType 1A Optional Returns type of value (see types of value) exists N Optional Returns *ON if value exists, *OFF if value does not exit Procedure returns character value depend on pattern (see patterns)</description></item><item><title>reqGetDateValue()</title><link>/rpg/request/reqgetdatevalue/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/rpg/request/reqgetdatevalue/index.html</guid><description>This procedure retrieves date value for given node string.
Parameter Type Description baseNode 1024A VARYING, VARSIZE Mandatory This parameter is used to pass base node. Currently following base nodes are supproted: “IptorAPI”, “method”, “params”, “messages”, “control”, “id” node 1024A VARYING, VARSIZE Optional Node name. This parameter is optional. If the structure is more complex then nodes must be divided by colon “:” valueType 1A Optional Returns type of value (see types of value) exists N Optional Returns *ON if value exists, *OFF if value does not exit The procedure converts character value date *iso format and returns numeric 8P 0 (YYYYMMDD):</description></item><item><title>reqGetFirstChildNode()</title><link>/rpg/request/reqgetfirstchildnode/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/rpg/request/reqgetfirstchildnode/index.html</guid><description>This procedure gets first child node if exist.
Parameter Type Description baseNode 1024A VARYING, VARSIZE Mandatory This parameter is used to pass base node. Currently following base nodes are supproted: “IptorAPI”, “method”, “params”, “messages”, “control”, “id” node 1024A VARYING, VARSIZE Optional Node name. This parameter is optional. If the structure is more complex then nodes must be divided by colon “:” exists N Optional Returns *ON if child node exists, *OFF if child node does not exit The procedure returns first child node name (1024A). If the child node does not exist then procedure returns *BLANKS.</description></item><item><title>reqGetNextChildNode()</title><link>/rpg/request/reqgetnextchildnode/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/rpg/request/reqgetnextchildnode/index.html</guid><description>This procedure gets next child node if exist.
Parameter Type Description baseNode 1024A VARYING, VARSIZE Mandatory This parameter is used to pass base node. Currently following base nodes are supproted: “IptorAPI”, “method”, “params”, “messages”, “control”, “id” node 1024A VARYING, VARSIZE Optional Node name. This parameter is optional. If the structure is more complex then nodes must be divided by colon “:” exists N Optional Returns *ON if child node exists, *OFF if child node does not exit The procedure returns next child node name (1024A). If the child node does not exist then procedure returns *BLANKS.</description></item><item><title>reqGetNumOfElements()</title><link>/rpg/request/reqgetnumofelements/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/rpg/request/reqgetnumofelements/index.html</guid><description>This procedure retrieves number of array elements for given node.
Parameter Type Description baseNode 1024A VARYING, VARSIZE Mandatory This parameter is used to pass base node. Currently following base nodes are supproted: “IptorAPI”, “method”, “params”, “messages”, “control”, “id” node 1024A VARYING, VARSIZE Optional Node name. This parameter is optional. If the structure is more complex then nodes must be divided by colon “:” NOTE: The last node name must be fllowed by “[]” The procedure returns number of elements for array (30P 0).</description></item><item><title>reqGetTimeValue()</title><link>/rpg/request/reqgettimevalue/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/rpg/request/reqgettimevalue/index.html</guid><description>This procedure retrieves Time value for given node string.
Parameter Type Description baseNode 1024A VARYING, VARSIZE Mandatory This parameter is used to pass base node. Currently following base nodes are supproted: “IptorAPI”, “method”, “params”, “messages”, “control”, “id” node 1024A VARYING, VARSIZE Optional Node name. This parameter is optional. If the structure is more complex then nodes must be divided by colon “:” valueType 1A Optional Returns type of value (see types of value) exists N Optional Returns *ON if value exists, *OFF if value does not exit The procedure converts character value time *iso format and returns numeric 6P 0 (HHMMSS):</description></item><item><title>reqGetUCS2Value()</title><link>/rpg/request/reqgetucs2value/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/rpg/request/reqgetucs2value/index.html</guid><description>This procedure returns parameter value as UCS2 string.
Parameter Type Description baseNode 1024C VARYING, VARSIZE Mandatory This parameter is used to pass base node. Currently following base nodes are supproted: “IptorAPI”, “method”, “params”, “messages”, “control”, “id” node 1024C VARYING, VARSIZE Optional, can be omited Node name. This parameter is optional. If the structure is more complex then nodes must be divided by colon “:” valueType 1A Optional, can be omited Returns type of value (see types of value) exists N Optional, can be omited Returns *ON if value exists, *OFF if value does not exit valuePtr POINTER Optional, can be omited Returns pointer in memory where value resides valueLength 10U 0 Optional, can be omited Returns length of value in bytes unescape N Optional *ON or *OFF (Default = *ON) Indicates if value must be “unescaped” means removed ‘' escape character NOTE : The node strings are UCS2. The result value is also UCS2. The procedure returns value as UCS2 string even if the value is numeric (1024C). It is up to programmer to convert string to numeric later.</description></item><item><title>reqGetValue()</title><link>/rpg/request/reqgetvalue/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/rpg/request/reqgetvalue/index.html</guid><description>This procedure returns parameter value as string.
Parameter Type Description baseNode 1024A VARYING, VARSIZE Mandatory This parameter is used to pass base node. Currently following base nodes are supproted: “IptorAPI”, “method”, “params”, “messages”, “control”, “id” node 1024A VARYING, VARSIZE Optional, can be omited Node name. This parameter is optional. If the structure is more complex then nodes must be divided by colon “:” valueType 1A Optional, can be omited Returns type of value (see types of value) exists N Optional, can be omited Returns *ON if value exists, *OFF if value does not exit valuePtr POINTER Optional, can be omited Returns pointer in memory where value resides valueLength 10U 0 Optional, can be omited Returns length of value in bytes unescape N Optional *ON or *OFF (Default = *ON) Indicates if value must be “unescaped” means removed ‘' escape character The procedure returns value as string even if the value is numeric (1024A). It is up to programmer to convert string to numeric later.</description></item><item><title>reqGetValueType()</title><link>/rpg/request/reqgetvaluetype/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/rpg/request/reqgetvaluetype/index.html</guid><description>This procedure returns parameter value type.
Parameter Type Description baseNode 1024A VARYING, VARSIZE Mandatory This parameter is used to pass base node. Currently following base nodes are supproted: “IptorAPI”, “method”, “params”, “messages”, “control”, “id” node 1024A VARYING, VARSIZE Optional Node name. This parameter is optional. If the structure is more complex then nodes must be divided by colon “:” The procedure returns value type (1A). See table bellow.
Types of value:</description></item></channel></rss>