Can we include SETENV.SQC at the end of the SQR program? If "NO" then why?
Please let me know the problem you are facing.
In the SETENV.SQC,all the env variables are set.It will not have any procedures called.Please open the sqc and verify all the parameters and you can see in comments. It is highly recommended to use this SQC at the starting of the program to set the parameters
If SQC is using procedures, then you can define at the end of the program.
Below are few examples.
default date and time formats
Parameters that decide where to put the file depending on the operating system.