In CL program I am using QIBM_QSH_CMD_OUTPUT environment variable to direct output to STDOUT and then overriding this to database file. This is to capture logging from sftp server, accessed via batch script. When I run the CL program using SBMJOB from command line it outputs logging to DB file. When I call the CL program from the jobs scheduler, I get no output. Is there some parameter I should use when setting up the scheduled job to ensure the environment variables behave as expected.