The C$MYFILE library routine returns the full name of the physical class file or the jar library that identifies the program according to Class Path and iscobol.code_prefix settings.If iscobol.cmyfile.classname_only (boolean) is set to true in the configuration, only the class name (without path) is returned. This kind of setting is mandatory when running inside a servlet container (e.g. Tomcat), otherwise a null result is returned.
returnCode can be any signed numeric data item and provides additional information:
Example - Get the name of the current program being run
| 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 |