The path that does SVC 99 of the output file works fine It’s the path that uses tso ALLOC that gives me the s0c9 All the other logic is the same before I submit the job that populates the output file I do a free fi and when I use SVC 99 I have text unit closeua meaning when I closed the file it’s unallocated either way before I invoke file manager with command below it’s unallocated file manager seems to allocate The only difference using SVC 99 to allocate the file I am able to get into file manager With tso ALLOC I blow up
The rexx variables I assign Are tclib for the template TCIN for the template member And filein for the dataset to browse Then I invoke the following command Address ispexec “Select cmd(filemgr $dsv dsnin=‘“ || filein || “ ‘ TCIN=‘“ || tclib || “(“ || TCIN || “)” I have libdef for the file manger ispplib ispmlib isptlib ispslib > On Aug 12, 2021, at 6:27 PM, Sri h Kolusu <skol...@us.ibm.com> wrote: > > >> >> I got a soc9 divide exception > > S0C9 abend is usually due to divide by zero. So did you check if you are > performing any calculations and if all the variables have a non-zero > values? you said you are allocating a file. Did you make sure that it has > a valid LRECL on the SVC99 call? > > Thanks, > Kolusu > > > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN