skip to main content

Library Routines : C$GETENV

C$GETENV
The C$GETENV library routine returns the current value of a configuration property.
The routine can be used to inquire both isCOBOL and Java configuration properties.
Syntax:
 CALL "C$GETENV" USING propertyName
Parameters:
Return code:
returnCode is a signed numeric data item:
For your convenience, below is a list of common Java properties that you can inquire with this routine:
Examples:
Example - Get the iscobol.file.prefix and iscobol.code_prefix value
move "file.prefix" to varname
call "C$GETENV" using varname varvalue
display "iscobol.file.prefix = " varvalue
move "code_prefix" to varname
call "C$GETENV" using varname varvalue
display "iscobol.code_prefix = " varvalue

Copyright (c) 2017 Veryant
Contact us
Please share your comments on this manual or on any
Veryant product documentation with the email button at the top left