The Enterprise PL/I for z/OS 6.1 documentation is refreshed to include the following enhancements:
New keyword
- VAR4 can be used as an abbreviation for the VARYING4 attribute.
New built-in functions
- The IRLL built-in function returns the result of logically rotating x to the left by n places.
- The IRRL built-in function returns the result of logically rotating x to the right by n places.
- The SHA2DIGEST224, SHA2DIGEST256, SHA2DIGEST384, and SHA2DIGEST512 built-in functions perform a SHA-2 hash of the text specified by an address and length and return a CHAR string with that hash value.
- The SHA2FINAL224, SHA2FINAL256, SHA2FINAL384, and SHA2FINAL512 built-in functions use a token initialized by the corresponding SHA2INIT function and used in the corresponding SHA2FINAL functions to complete a SHA-2 hash of a series of texts and a CHAR string with that hash value.
- The SHA2INIT224, SHA2INIT256, SHA2INIT384, and SHA2INIT512 built-in functions return a token (of type POINTER) that can be used with the corresponding SHA2UPDATE and SHA2FINAL functions to hash a series of texts.
- The SHA2UPDATE224, SHA2UPDATE256, SHA2UPDATE384, and SHA2UPDATE512 built-in functions use a token initialized by the corresponding SHA2INIT function to perform an intermediate hash of an element in a series of texts.
- The SHA3DIGEST224, SHA3DIGEST256, SHA3DIGEST384, and SHA3DIGEST512 built-in functions perform a SHA-3 hash of the text specified by an address and length and return a CHAR string with that hash value.
- The SHA3FINAL224, SHA3FINAL256, SHA3FINAL384, and SHA3FINAL512 built-in functions use a token initialized by the corresponding SHA3INIT function and used in the corresponding SHA3FINAL functions to complete a SHA-3 hash of a series of texts and a CHAR string with that hash value.
- The SHA3INIT224, SHA3INIT256, SHA3INIT384, and SHA3INIT512 built-in functions return a token (of type POINTER) that can be used with the corresponding SHA3UPDATE and SHA3FINAL functions to hash a series of texts.
- The SHA3UPDATE224, SHA3UPDATE256, SHA3UPDATE384, and SHA3UPDATE512 built-in functions use a token initialized by the corresponding SHA3INIT function to perform an intermediate hash of an element in a series of texts.
New compiler options
- The MAXSTATIC compiler option causes the compiler to flag STATIC variables that exceed a specified size.
Modified compiler options
- The HASH suboption of the FILEREF compiler option specifies that each line in the file reference table is followed by a line containing the hex value of a 256-bit SHA-2 hash of that file.
- The SOURCE suboption of the TEST compiler option specifies that if the GOFF option is also specified, then the compiler will include in a no-load class in the generated object file all the source files in the same compressed format used for the TEST(SEPARATE) option.
- The HASH suboption of the XINFO(XML) compiler option specifies that for each FILENAME line, the generated XML file is followed by a line containing the hex value of a 256-bit SHA-2 hash of that file enclosed in the
<CONTENTHASH>
and </CONTENTHASH>
tags.
The latest
Enterprise PL/I for z/OS 6.1 product documentation is available in IBM Documentation. You can also find the Enterprise PL/I for z/OS documentation (both online and PDF versions) in the
PL/I documentation library. If you have any comments regarding the PL/I documentation, please send them to compinfo@cn.ibm.com.