List of $functions: Difference between revisions
Jump to navigation
Jump to search
m Automatically generated page update |
mNo edit summary |
||
| Line 71: | Line 71: | ||
<tr><td>[[$Inflate]]</td><td>Decompress a longstring with inflate</td></tr> | <tr><td>[[$Inflate]]</td><td>Decompress a longstring with inflate</td></tr> | ||
<tr><td>[[$JobAuth]]</td><td>Determine if user has authorization for USE $JOB</td></tr> | <tr><td>[[$JobAuth]]</td><td>Determine if user has authorization for USE $JOB</td></tr> | ||
<tr><td>[[$List_Add_Ordered]]</td><td>Add an item to an ordered $list</td></tr> | |||
<tr><td>[[$List_Add_Unique]]</td><td>Conditionally add an item to a $list</td></tr> | |||
<tr><td>[[$List_Add_Unique_Ordered]]</td><td>Conditionally add an item to an ordered $list</td></tr> | |||
<tr><td>[[$List_Capture]]</td><td> Capture print data to $list</td></tr> | |||
<tr><td>[[$List_Conv_Item]]</td><td> Convert $list to single delimited $list item</td></tr> | |||
<tr><td>[[$List_Copy_Items]]</td><td> Copy items between $lists</td></tr> | |||
<tr><td>[[$List_Diff_Item]]</td><td> Differences between $list and delimited $list item</td></tr> | |||
<tr><td>[[$List_Global and $List_Session]]</td><td>and $List_Session: Access/create global/session $list</td></tr> | |||
<tr><td>[[$List_Global_Del and $List_Session_Del]]</td><td>and $List_Session_Del: Delete global/session $lists</td></tr> | |||
<tr><td>[[$List_Global_List and $List_Session_List]]</td><td>and $List_Session_List: List global/session $lists</td></tr> | |||
<tr><td>[[$List_MaxIL]]</td><td>Return maximum $list item length</td></tr> | |||
<tr><td>[[$List_Print]]</td><td>Display contents of a $list</td></tr> | |||
<tr><td>[[$ListAdd]]</td><td> Add string as new $list item</td></tr> | |||
<tr><td>[[$ListAdd_Lstr]]</td><td> Add longstring as new $list item</td></tr> | |||
<tr><td>[[$ListAddI]]</td><td> Add image as new $list item</td></tr> | |||
<tr><td>[[$ListAdj]]</td><td> Adjust length of $list item</td></tr> | |||
<tr><td>[[$ListChk]]</td><td> Validate a $list identifier</td></tr> | |||
<tr><td>[[$ListCmp]]</td><td> Compare two $lists and produce $list describing differences</td></tr> | |||
<tr><td>[[$ListCnt]]</td><td> Number of items in $list</td></tr> | |||
<tr><td>[[$ListCpy]]</td><td> Copy $list</td></tr> | |||
<tr><td>[[$ListDel]]</td><td> Release CCATEMP storage used for $list</td></tr> | |||
<tr><td>[[$ListFind]]</td><td> Find string in $list</td></tr> | |||
<tr><td>[[$ListFindI and $ListFindI_Up]]</td><td>and $ListFindI_Up: Find image item in $list</td></tr> | |||
<tr><td>[[$ListFindI_Sub]]</td><td> Build $list subset based on image item</td></tr> | |||
<tr><td>[[$ListILn]]</td><td> Length of $list item</td></tr> | |||
<tr><td>[[$ListImg]]</td><td> Associate an image with a $list</td></tr> | |||
<tr><td>[[$Listimg_Copy]]</td><td> Copy a $list's image association</td></tr> | |||
<tr><td>[[$ListInf]]</td><td> Retrieve $list item into string</td></tr> | |||
<tr><td>[[$ListInf_Lstr]]</td><td> Retrieve $list item into longstring</td></tr> | |||
<tr><td>[[$ListInfI]]</td><td> Retrieve $list item into image</td></tr> | |||
<tr><td>[[$ListIns]]</td><td> Insert string into a $list</td></tr> | |||
<tr><td>[[$ListIns_Lstr]]</td><td> Insert string into a $list</td></tr> | |||
<tr><td>[[$ListInsI]]</td><td> Insert image into a $list</td></tr> | |||
<tr><td>[[$ListLoc]]</td><td> Locate string in $list</td></tr> | |||
<tr><td>[[$ListLup]]</td><td> Locate string in $list, searching backwards</td></tr> | |||
<tr><td>[[$ListMove]]</td><td> Move a $list</td></tr> | |||
<tr><td>[[$ListNew]]</td><td> Create empty $list</td></tr> | |||
<tr><td>[[$ListNewA]]</td><td> Create array of empty $lists</td></tr> | |||
<tr><td>[[$ListNewAI]]</td><td> Create array of empty $lists associated with image</td></tr> | |||
<tr><td>[[$ListNewI]]</td><td> Create empty $list associated with image</td></tr> | |||
<tr><td>[[$ListOvl]]</td><td> Overlay part of $list item with string</td></tr> | |||
<tr><td>[[$ListOvlI]]</td><td> Overlay part of $list item with image item</td></tr> | |||
<tr><td>[[$ListRem]]</td><td> Remove item from $list</td></tr> | |||
<tr><td>[[$ListRep]]</td><td> Replace a $list item with a string</td></tr> | |||
<tr><td>[[$ListRep_Lstr]]</td><td> Replace a $list item with a longstring</td></tr> | |||
<tr><td>[[$ListRepI]]</td><td> Replace $list item with an image</td></tr> | |||
<tr><td>[[$ListRst]]</td><td> Restore global $list</td></tr> | |||
<tr><td>[[$ListSav and $ListSave]]</td><td>and $ListSave: Save global $list</td></tr> | |||
<tr><td>[[$ListSavL]]</td><td> Count and names of available global $lists</td></tr> | |||
<tr><td>[[$ListSort and $ListSrt]]</td><td>and $ListSrt : Sort $list</td></tr> | |||
<tr><td>[[$ListSub]]</td><td> Create $list that is subset of input $list</td></tr> | |||
<tr><td>[[$ListUpd]]</td><td> Produce $list from input $list using $list of updates</td></tr> | |||
<tr><td>[[$Lstr]]</td><td>Treat a string as longstring</td></tr> | |||
<tr><td>[[$Lstr_Add_UserBuffer]]</td><td>Add longstring to user buffer</td></tr> | |||
<tr><td>[[$Lstr_Base64_Decode]]</td><td>Convert from base 64 to byte string</td></tr> | |||
<tr><td>[[$Lstr_Base64_Encode]]</td><td>Convert byte string to base 64</td></tr> | |||
<tr><td>[[$Lstr_C2X]]</td><td>Convert byte string to hexadecimal</td></tr> | |||
<tr><td>[[$Lstr_Get_Image and $Lstr_Set_Image]]</td><td>and $Lstr_Set_Image: Longstring to/from image</td></tr> | |||
<tr><td>[[$Lstr_Get_Userbuffer]]</td><td>Get user buffer contents to a longstring</td></tr> | |||
<tr><td>[[$Lstr_Global and $Lstr_Session]]</td><td>and $Lstr_Session: Bind to global/session longstring</td></tr> | |||
<tr><td>[[$Lstr_Global_Del and $Lstr_Session_Del]]</td><td>and $Lstr_Session_Del</td></tr> | |||
<tr><td>[[$Lstr_Global_Get and $Lstr_Session_Get]]</td><td>and $Lstr_Session_Get</td></tr> | |||
<tr><td>[[$Lstr_Global_Set and $Lstr_Session_Set]]</td><td>and $Lstr_Session_Set</td></tr> | |||
<tr><td>[[$Lstr_Index]]</td><td>Find a string inside a longstring</td></tr> | |||
<tr><td>[[$Lstr_Left]]</td><td>Leftmost characters of a longstring</td></tr> | |||
<tr><td>[[$Lstr_Len]]</td><td>Length of a longstring</td></tr> | |||
<tr><td>[[$Lstr_Parse]]</td><td> Part of longstring preceding character in delimiter set</td></tr> | |||
<tr><td>[[$Lstr_ParseX]]</td><td> Part of longstring following character in delimiter set</td></tr> | |||
<tr><td>[[$Lstr_Right]]</td><td>Rightmost characters of a longstring</td></tr> | |||
<tr><td>[[$Lstr_Set_UserBuffer]]</td><td>Set user buffer to longstring value</td></tr> | |||
<tr><td>[[$Lstr_Substr]]</td><td>Substring of a longstring</td></tr> | |||
<tr><td>[[$Lstr_SubWord]]</td><td>Substring of a longstring using word counts</td></tr> | |||
<tr><td>[[$Lstr_Translate]]</td><td>Translate longstring</td></tr> | |||
<tr><td>[[$Lstr_Unblank]]</td><td>Remove extraneous blanks from longstring</td></tr> | |||
<tr><td>[[$Lstr_Windex]]</td><td>Return the position of a word within a long string</td></tr> | |||
<tr><td>[[$Lstr_Word]]</td><td>Return a word from a long string</td></tr> | |||
<tr><td>[[$Lstr_Words]]</td><td>Return the number of words in a long string</td></tr> | |||
<tr><td>[[$Lstr_X2C]]</td><td>Convert from hexadecimal to byte string</td></tr> | |||
<tr><td>[[$Parse]]</td><td>Part of string preceding character in delimiter set</td></tr> | <tr><td>[[$Parse]]</td><td>Part of string preceding character in delimiter set</td></tr> | ||
<tr><td>[[$ParseX]]</td><td>Part of string following character in delimiter set</td></tr> | <tr><td>[[$ParseX]]</td><td>Part of string following character in delimiter set</td></tr> | ||
Revision as of 15:23, 15 February 2011
The following are the available Sirius $functions.
See Notation conventions for methods for information about the conventions followed in the method descriptions.
| $Function | Description |
|---|---|
| $A2E | Translate ASCII to EBCDIC |
| $Abbrev | Determine if string is abbreviation within list of words |
| $Arr_Find | Find value within array |
| $Arr_Init | Initialize every element of array to specific value |
| $Arr_Max | Find maximum value in array |
| $Arr_Min | Find minimum value in array |
| $Base64_Decode | Convert from base 64 to byte string |
| $Base64_Encode | Convert byte string to base 64 |
| $BgPurge | Cancel "long" sdaemon request initiated with $CommBg |
| $BgQuery | List of "long" sdaemon requests initiated via $CommBg |
| $Bind | Fast, easy synchronization of system wide resource |
| $Bind_List | Return list of bound semaphores onto a $list |
| $BitAnd | Bitwise AND of two integers |
| $BitOr | Bitwise OR of two integers |
| $Bump | Bump a user |
| $C2D | Convert binary byte string to integer |
| $Center | Center string |
| $CfStatL | List of statistics for users holding critical file resources |
| $Close | Close file or group in User Language request |
| $Cms | Determine if online is running under CMS |
| $CommBg | Execute Model 204 commands on sdaemon |
| $Command | Execute Model 204 command on sdaemon, results to image |
| $CommndL | Execute Model 204 command on sdaemon, results to $list |
| $Context | Determine if string is name of open file or group |
| $D2C | Binary byte representation of integer |
| $D2X | Hex representation of integer |
| $DaemonMasterNumber | Get user number of master thread |
| $DaemonParentNumber | Get user number of parent thread |
| $Deflate | Compress a longstring with Deflate |
| $DelCh | Remove characters from string, compress and strip blanks |
| $Delg_Subsys | Delete subsystem-wide global |
| $Delg_Sys | Delete system-wide global |
| $Delimr | Insert delimiter string into input string at regular positions |
| $E2A | Translate EBCDIC to ASCII |
| $EdScan | Scan list of entities in online |
| $Ent | Do character entity substitution |
| $Ent_Print | Set automatic character entity substitution |
| $Ent_Tab | retrieve/modify character entity substitution table |
| $ErrSet | Increment or clear number of counting errors, set $ERRMSG |
| $FIniTim | File initialization YYDDDMMHHSSTH |
| $FakeEnt | Prepare fake ENTER to automatically satisfy next full screen read |
| $FiStat | Retrieve file's statistics into string |
| $FiStatL | Retrieve set of files' statistics into list |
| $Field_Image | Return field values into an image |
| $Field_List | Return field values into a $list |
| $Field_ListI | Return field values into a $list mapped to an image |
| $FreeOpt | Free optional file or group from subsystem |
| $FunForc | Cancel running or waiting Fast/Unload request |
| $FunImg | Retrieve data from active Fast/Unload request into image |
| $FunList | $list of active and enqueued Fast/Unload requests |
| $FunLoad | Fast/Unload records in Model 204 list or found set |
| $FunPurg | Purge running or waiting Fast/Unload request |
| $FunSkip | Skip to next output record for $FunImg, $FunsStr |
| $FunWait | Wait until asynchronous Fast/Unload request completes |
| $FunsStr | Retrieve data from active Fast/Unload request into string |
| $GZip | Compress a longstring with GZip |
| $GunZip | Decompress a longstring with GUNZIP |
| $HexA | Convert hexadecimal string to EBCDIC equivalent |
| $IHexA | Convert EBCDIC string to hexadecimal equivalent |
| $ImgInf | Retrieve image item by variable name |
| $ImgOvl | Replace image item value |
| $IncStat | Increment local system statistic |
| $Inflate | Decompress a longstring with inflate |
| $JobAuth | Determine if user has authorization for USE $JOB |
| $List_Add_Ordered | Add an item to an ordered $list |
| $List_Add_Unique | Conditionally add an item to a $list |
| $List_Add_Unique_Ordered | Conditionally add an item to an ordered $list |
| $List_Capture | Capture print data to $list |
| $List_Conv_Item | Convert $list to single delimited $list item |
| $List_Copy_Items | Copy items between $lists |
| $List_Diff_Item | Differences between $list and delimited $list item |
| $List_Global and $List_Session | and $List_Session: Access/create global/session $list |
| $List_Global_Del and $List_Session_Del | and $List_Session_Del: Delete global/session $lists |
| $List_Global_List and $List_Session_List | and $List_Session_List: List global/session $lists |
| $List_MaxIL | Return maximum $list item length |
| $List_Print | Display contents of a $list |
| $ListAdd | Add string as new $list item |
| $ListAdd_Lstr | Add longstring as new $list item |
| $ListAddI | Add image as new $list item |
| $ListAdj | Adjust length of $list item |
| $ListChk | Validate a $list identifier |
| $ListCmp | Compare two $lists and produce $list describing differences |
| $ListCnt | Number of items in $list |
| $ListCpy | Copy $list |
| $ListDel | Release CCATEMP storage used for $list |
| $ListFind | Find string in $list |
| $ListFindI and $ListFindI_Up | and $ListFindI_Up: Find image item in $list |
| $ListFindI_Sub | Build $list subset based on image item |
| $ListILn | Length of $list item |
| $ListImg | Associate an image with a $list |
| $Listimg_Copy | Copy a $list's image association |
| $ListInf | Retrieve $list item into string |
| $ListInf_Lstr | Retrieve $list item into longstring |
| $ListInfI | Retrieve $list item into image |
| $ListIns | Insert string into a $list |
| $ListIns_Lstr | Insert string into a $list |
| $ListInsI | Insert image into a $list |
| $ListLoc | Locate string in $list |
| $ListLup | Locate string in $list, searching backwards |
| $ListMove | Move a $list |
| $ListNew | Create empty $list |
| $ListNewA | Create array of empty $lists |
| $ListNewAI | Create array of empty $lists associated with image |
| $ListNewI | Create empty $list associated with image |
| $ListOvl | Overlay part of $list item with string |
| $ListOvlI | Overlay part of $list item with image item |
| $ListRem | Remove item from $list |
| $ListRep | Replace a $list item with a string |
| $ListRep_Lstr | Replace a $list item with a longstring |
| $ListRepI | Replace $list item with an image |
| $ListRst | Restore global $list |
| $ListSav and $ListSave | and $ListSave: Save global $list |
| $ListSavL | Count and names of available global $lists |
| $ListSort and $ListSrt | and $ListSrt : Sort $list |
| $ListSub | Create $list that is subset of input $list |
| $ListUpd | Produce $list from input $list using $list of updates |
| $Lstr | Treat a string as longstring |
| $Lstr_Add_UserBuffer | Add longstring to user buffer |
| $Lstr_Base64_Decode | Convert from base 64 to byte string |
| $Lstr_Base64_Encode | Convert byte string to base 64 |
| $Lstr_C2X | Convert byte string to hexadecimal |
| $Lstr_Get_Image and $Lstr_Set_Image | and $Lstr_Set_Image: Longstring to/from image |
| $Lstr_Get_Userbuffer | Get user buffer contents to a longstring |
| $Lstr_Global and $Lstr_Session | and $Lstr_Session: Bind to global/session longstring |
| $Lstr_Global_Del and $Lstr_Session_Del | and $Lstr_Session_Del |
| $Lstr_Global_Get and $Lstr_Session_Get | and $Lstr_Session_Get |
| $Lstr_Global_Set and $Lstr_Session_Set | and $Lstr_Session_Set |
| $Lstr_Index | Find a string inside a longstring |
| $Lstr_Left | Leftmost characters of a longstring |
| $Lstr_Len | Length of a longstring |
| $Lstr_Parse | Part of longstring preceding character in delimiter set |
| $Lstr_ParseX | Part of longstring following character in delimiter set |
| $Lstr_Right | Rightmost characters of a longstring |
| $Lstr_Set_UserBuffer | Set user buffer to longstring value |
| $Lstr_Substr | Substring of a longstring |
| $Lstr_SubWord | Substring of a longstring using word counts |
| $Lstr_Translate | Translate longstring |
| $Lstr_Unblank | Remove extraneous blanks from longstring |
| $Lstr_Windex | Return the position of a word within a long string |
| $Lstr_Word | Return a word from a long string |
| $Lstr_Words | Return the number of words in a long string |
| $Lstr_X2C | Convert from hexadecimal to byte string |
| $Parse | Part of string preceding character in delimiter set |
| $ParseX | Part of string following character in delimiter set |
| $PrcLEx | $list of information about procedures in file |
| $PrcLExG | $list of information about procedures in group or file |
| $Priorty | Change a user's priority |
| $ProcCls | Close procedure before reaching end |
| $ProcDat | Add lines from procedure to $list |
| $ProcGet | Next line of procedure |
| $ProcLoc | Locate any of set of strings in procedure |
| $ProcOpn | Open procedure for $ProcDat, $ProcGet, $ProcLoc |
| $Proc_List | $list of information about procedures in file |
| $Proc_ListG | $list of information about procedures in group or file |
| $Proc_Touch | Change a procedure's last-update date and user |
| $Random | Get next random number |
| $Random_SEED | Build seed specifying series of $RANDOM results |
| $RegexMatch | Whether string matches regex |
| $RegexReplace | Replace matching strings |
| $Resetn | Reset or view M204 parameter |
| $Session_$Session_Id_$Session_Owner_and_$Session_Timeout | $Session_Id, $Session_Owner and $Session_Timeout |
| $Session_Close | Close an open session |
| $Session_Create | Create a new session |
| $Session_Delete | Delete a session |
| $Session_List | Get list of sessions |
| $Session_Open | Open a session |
| $SetStat | Set local system statistic |
| $Setg_Subsys | Set subsystem-wide global |
| $Setg_Subsys_List | Get list of subsystem-wide globals |
| $Setg_Sys | Set system-wide global |
| $Setg_Sys_List | Get list of system-wide globals |
| $SirJGet | Place audit trail data on $list |
| $SirMsg | Line of current $SirMsgP procedure |
| $SirMsgP | Load procedure for retrieval via $SirMsg |
| $SirParm | Set user-specific value, controlling Sirius products |
| $SirProd | Determine availability of Sirius product or capability |
| $SirSite | Current Sirius customer site ID |
| $SirTime | Current time as YYDDDHHMISSXX |
| $SirVer | Current version number of Sirius product |
| $SirWarn | Send warning or message to user(s) |
| $Sir_Date | Get current datetime |
| $Sir_Date2N | Convert datetime string to number of seconds/300 |
| $Sir_Date2ND | Convert datetime string to number of days |
| $Sir_Date2NM | Convert datetime string to number of milliseconds |
| $Sir_Date2NS | Convert datetime string to number of seconds |
| $Sir_DateFmt | Validate datetime format |
| $Sir_DateN | Current date and time as number of seconds/300 |
| $Sir_DateND | Current date as number of days |
| $Sir_DateNM | Current date and time as number of milliseconds |
| $Sir_DateNS | Current date and time as number of seconds |
| $Sir_N2Date | Convert datetime number of seconds/300 to string |
| $Sir_ND2Date | Convert datetime number of days to string |
| $Sir_NM2Date | Convert datetime number of milliseconds to string |
| $Sir_NS2Date | Convert datetime number of seconds to string |
| $Sir_Wild | Test string against a wildcard string |
| $SsStat | Retrieve subsystem's statistics into string |
| $SsStatL | Retrieve statistics for set of subsystems into $list |
| $StatD | Calculate differences and rates for statistics strings |
| $StatLD | Calculate differences and rates for statistics $lists |
| $Str | Treat a longstring as string |
| $StrAnd | Bit-wise AND two strings |
| $StrOr | Bit-wise OR two strings |
| $StrXor | Bit-wise exclusive OR two strings |
| $SubCnt | Count occurrences of one string in another |
| $SubErs | Remove occurrence of one string from another |
| $SubIns | Insert string inside another string |
| $SubRep | Replace occurrences of string |
| $SyStat | Retrieve system statistics into string |
| $TSOId | TSO userid user's thread |
| $TSOStat | Status of program invoked via $TsoAtt |
| $TSOWait | Wait for program invoked via $TsoAtt to complete |
| $TableC | Information provided by TABLEC command |
| $TermId | Terminal ID of current user thread |
| $TkStat | Retrieve task's statistics into string |
| $TkStatL | Retrieve statistics for all tasks into $list |
| $TsoAtt | Attach program in user's TSO address space |
| $TsoCall | Call program in user's TSO address space |
| $TsoCan | Cancel program invoked via $TsoAtt |
| $TsoCmd | Invoke command in user's TSO address space |
| $TsoExec | Invoke CLIST in user's TSO address space |
| $TsoExit | Terminate TSO full screen interface session, stack command |
| $UnSpace | Normalize spaces and quotes |
| $Unbind_and_$UnbindW | $Unbind and $UnbindW: Unbind resource previously bound via $Bind |
| $UsStat | Retrieve user's statistics into string |
| $UsStatL | Retrieve statistics for set of users into $list |
| $UseASA | Prevent carriage control in USE output |
| $WakeUp | Pause user until specified time |
| $Windex | Word number of first occurrence of word in phrase |
| $X2D | Convert hex string to integer |