Joined: 17 Oct 2004 Posts: 190 Location: hyderabad
I'm using SPOOLOPEN/WRITE etc. to submit a job from CICS. By default it is taking the CICS user id as submitter and giving security error. Is there any way that we could override the submitter parameter?
Joined: 20 Oct 2006 Posts: 6962 Location: porcelain throne
possibly the documentation will indicate which/how parms are provided.
When you say CICS userid, do you mean the USER that is invoking the transaction that issues the SPOOLOPEN/WRITE API CALLs? If you have a decent security set-up on your system, if a USER has authority to invoke a transaction, then the USER has authority to submit a job via the API.
We SUBMIT via INTRDR here and that allows us to control the USERID.
someone that uses the SPOOLOPEN/WRITE APIs can tell you and save you the trouble of looking it up.