Page 1 of 1

Why do we use OPTFILE.

Posted: Tue Jul 18, 2023 4:02 pm
by Abbey Tiwari
Hi,

During an analysis I found the use of OPTFILE. Which is used in passing the compiler parameters to the compiler step in the endeavor processor. Could they not pass it using the PARM or a dataset used for PARM?

Why do we need to use PARMFILE?

Re: Why do we use OPTFILE.

Posted: Wed Jul 19, 2023 12:06 am
by Friday
When you want to pass additional Parms parameters. Also, Parms has limitation of 100 bytes. And if you want to pass parms more than 100 bytes, there is where OPTFILE comes in picture.
https://www.ibm.com/docs/en/zos/2.2.0?t ... -nooptfile

Re: Why do we use OPTFILE.

Posted: Wed Jul 19, 2023 8:59 am
by Abbey Tiwari
Yes, Thanks. I did saw that but why do we need an OPTFILE, why can't we pass it using a normal dataset like I'd for a program where I need to pass more than 100 characters. Or is it specific for compiler step?

And I found that with JES3, we can pass more characters in PARM, I lost the link and searching for reference.