When manipulating files in programs, the access name defined in JCL can be used. The file name defined in JCL is stored in the environment variable, which has the same name as the access name. That is, the file name is set in the user-defined environment variable.
Note
If the environment variable whose name is the same as the access name in the file statement is set to the startup file of a shell (".profile", ".cshrc", ".login" etc.), the setting of the shell's startup file will be validated (since the setting order is "file statement" first and then "shell's startup file").