Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

Overview

Function

Brief description

ACCOUNT( )

Returns the account number of the task

ARRAY-INDEX( )

Returns the value of an array index

BOOLEAN( )

Converts an expression to a Boolean value

CHARACTER-TO-INTEGER( )

Converts a character in EBCDI code to an integer

CHECK-DATA-TYPE( )

Checks the SDF data type in strings or operand values

COUNTER( )

Counts the number of times COUNTER() is called

CURRENT-TYPE( )

Returns the current data type of a simple variable

DATE( )

Returns the current date

DATE-VALUE( )

Outputs a specific date

DAY( )

Returns the name of the current day

ELAPSED-DAYS( )

Returns the number of days that exist between two given dates

EXPLICIT-CALL( )

Indicates the type of the procedure call

EXTEND-SDF-LIST( )

Adds an element to an SDF list

EXTRACT-FIELD( )

Removes a field from an input string

FILL( )

Expands a string using fill characters

FIRST-VARIABLE-NAME( )

Analyzes the structure of complex variables

FROM-C-LITERAL( )

Converts a C literal to the corresponding string value

FROM-X-LITERAL( )

Converts an X literal to its hexadecimal value

HASH-STRING( )

Encrypts an expression as a string

HASH-VALUE( )

Encrypts an expression as an integer value

HOME-CAT-ID( )

Returns the catalog ID of the home pubset

HOST( )

Returns the internal name of the system on which the procedure
is running

INDEX( )

Returns the position of a search string within a full string

INSTALLATION-PATH( )

Outputs an installation path name of a file

INTEGER( )

Converts any expression to the data type INTEGER

INTEGER-TO-CHARACTER( )

Converts an integer to a character (C string)

INTEGER-TO-X-LITERAL( )

Converts an integer to a 4-byte long X literal which contains the
coding of the integer (inverse function to X-LITERAL-TO-
INTEGER)

IS-C-LITERAL( )

Checks whether the specified string is a C literal and can be
converted to a string

IS-CATALOGED-FILE( )

Checks whether there is a catalog entry with the specified file
name

IS-CATALOGED-JV( )

Checks whether there is a catalog entry with the specified job
variable name

IS-DECLARED( )

Checks whether the specified simple or complex variable has
already been declared

IS-EMPTY-FILE( )

Checks whether a file is empty when the value 0 is returned by
HIGHEST-USED-PAGES( )

IS-INITIALIZED( )

Checks whether the specified variable is initialized

IS-INTEGER( )

Checks whether the specified string represents an integer value

IS-LIBRARY( )

Checks whether the specified file is cataloged as a PLAM library

IS-LIBRARY-ELEMENT( )

Checks whether or not the specified library element exists

IS-SDF-LIST( )

Analyzes whether a string is an SDF list and/or meets a criterion
for an SDF list

IS-SDF-P( )

Checks whether SDF-P is loaded in the system

IS-SDF-STRUCTURE( )

Checks whether the specified string is an SDF structure

IS-VARIABLE-NAME( )

Checks whether the specified string is a syntactically correct
variable name

IS-X-LITERAL( )

Checks whether the specified expression contains an X literal and
can be converted using FROM-X-LITERAL( )

JOB-CLASS( )

Returns the job class of the current task

JOB-MONJV( )

Returns the name of the variable monitoring the job

JOB-NAME( )

Returns the job name of the current task

JV( )

Returns the contents of the specified job variable

LAYOUT-SCOPE( )

Returns the scope of the specified structure layout

LENGTH( )

Returns the length of the specified string

LIMIT( )

Indicates the maximum number of elements that the specified list
variable can contain

LOGGING-MODE( )

Indicates whether the logging of commands or data has been
enabled for the procedure call

LOWER-CASE( )

Converts all uppercase letters in the specified string to lowercase

MAINCODE( )

Returns the 7-byte error code contained in the return code

MONTH( )

Returns the name of the current month in the language specified

MSG( )

Returns the message text assigned to the specified message
code

NEXT-VARIABLE-NAME( )

Analyzes the structure of complex variables

PROC-LEVEL( )

Returns the current nesting depth of the S procedure

PROCESSOR( )

Returns the processor name of the TIAM station

PROG-MONJV( )

Returns the name of the job variable monitoring the program

PROG-NAME( )

Returns the internal name (reduced to eight characters) of the
program currently loaded

RENAME( )

Returns a new name

REPLACE( )

Replaces a substring with another string

RUN-PRIORITY( )

Returns the priority level of the current job

SDF-P-VERSION( )

Returns the name of the current version of SDF-P or
SDF-P-BASYS

SDF-STRUCTURE-VALUE( )

Returns part or all of the contents of an SDF structure

SEARCH-LIST-INDEX( )

Searches for a string in a list

SESSION-NUMBER( )

Returns the session number of the system currently running

SIZE( )

Returns the number of elements contained in the complex
variable specified

STATION( )

Returns the name of the TIAM station from which the procedure
was started

STATION-TYPE( )

Returns the device type generated for the TIAM station from
which the procedure was called

STD-CAT-ID( )

Returns the ID of the pubset which was assigned to the current
user ID as the default pubset

STMT-SPINOFF( )

Indicates whether statement spin-off has been enabled for the
program currently loaded

STRING( )

Converts an expression of the type INTEGER, BOOLEAN or
STRING to the type STRING

SUBCODE1( )

Returns subcode1 (error class) of the current command return
code

SUBCODE2( )

Returns subcode2 (additional information) of the current
command return code

SUBLIST( )

Returns the contents of a given element in an SDF list

SUBLIST-NUMBER( )

Returns the number of elements contained in an SDF list

SUBSTRING( )

Extracts a substring from the specified string

SYSCMD( )

Returns the name of the file assigned to the system file SYSCMD

SYSDTA( )

Returns the name of the file assigned to the system file SYSDTA

SYS-ID( )

Returns the system ID

SYSLST( )

Returns the name of the file assigned to the system file SYSLST

SYSOUT( )

Returns the name of the file assigned to the system file SYSOUT

SYSTEM-CALL( )

Returns information on the syntax file containing the implemented
command

SYSTEM-INFORMATION( )

Returns information on system parameters and class 2 options

TASK-MODE( )

Returns the operating mode of the current task

TIME( )

Returns the current time of day

TO-C-LITERAL( )

Converts the specified string to a C literal

TO-X-LITERAL( )

Converts the hexadecimal value of a string to its external
representation

TRANSLATE( )

Allocates freely selectable results to freely selectable input values

TRANSLATE-BOOLEAN( )

Checks whether an expression is true or false

TRIM( )

Returns the TSN (job number) of the current task

TSN( )

Converts all lowercase letters in the specified string to uppercase

UPPER-CASE( )

Returns the user ID for the current task

USER-IDENTIFICATION( )

Returns the status of the specified user switch

USER-SWITCH( )

Returns the value of the specified variable attribute

VARIABLE-ATTRIBUTE( )

Converts an S variable of the type STRUCTURE to a string

VARIABLE-TO-STRING( )

Compares two strings, returning the position of the first character
in string (STRING) that does not exist in search string (PATTERN)

VERIFY( )

Compares a string with a particular pattern

WILDCARD( )

Returns the operating mode of the current task

X-LITERAL-TO-INTEGER( )

Converts a string which is up to 4 bytes long to an integer (inverse
function to INTEGER-TO-X-LITERAL)