Re: Filemanger abend and dynamic allocation

2021-08-13 Thread Joseph Reichman
Will do 



> On Aug 13, 2021, at 11:43 AM, Seymour J Metz  wrote:
> 
> Then it's time to report the problem, but I'd advise including complete 
> descriptions of the two allocations.
> 
> 
> --
> Shmuel (Seymour J.) Metz
> http://mason.gmu.edu/~smetz3
> 
> 
> From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of 
> Joseph Reichman [reichman...@gmail.com]
> Sent: Friday, August 13, 2021 10:29 AM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: Filemanger abend and dynamic allocation
> 
> The s0c9 is in file manager trying to bring up the initial panel
> 
> 
> 
>> On Aug 13, 2021, at 9:42 AM, Gilson Cesar de Oliveira  
>> wrote:
>> 
>> Em sex., 13 de ago. de 2021 às 10:31, Seymour J Metz 
>> escreveu:
>> 
>>> Where is the S0C9? Has the batch job completed? What is in the ALLOC and
>>> what are the TUs of the DYNALLOC?
>>> 
>>> 
>>> --
>>> Shmuel (Seymour J.) Metz
>>> http://mason.gmu.edu/~smetz3
>>> 
>>> 
>>> From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf
>>> of Joseph Reichman [reichman...@gmail.com]
>>> Sent: Thursday, August 12, 2021 5:23 PM
>>> To: IBM-MAIN@LISTSERV.UA.EDU
>>> Subject: Re: Filemanger abend and dynamic allocation
>>> 
>>> I got a soc9 divide exception
>>> This abend is from my job joseph.reich...@irs.gov except I cannt post
>>> from that email
>>> You mentioned sysprint however I don’t remember allocating it in either
>>> case
>>> It seems that the file I want to browse just has to be pointed to my Rexx
>>> variable filein
>>> It also seems that file manager dynamically allocates filein that’s just
>>> by doing tso isrddn and seeing a sys…… DD allocated to the dsname as in the
>>> case where SVC 99 returns the ddname I think that’s key 1
>>> 
>>> Also when the abend happens I do actually get into the file manager panel
>>> as it trying to read the input the all of the sudden abends pgm=filemngr
>>> it’s from memory but I do believe that’s it with a s0c9
>>> 
>>> 
>>> 
>>>> On Aug 12, 2021, at 4:45 PM, Jeremy Nicoll <
>>> jn.ls.mfrm...@letterboxes.org> wrote:
>>>> 
>>>> On Thu, 12 Aug 2021, at 20:28, Joseph Reichman wrote:
>>>> 
>>>>> If the input is multiple files then I allocate the output via ADDRESS
>>> TSO “ALLOC
>>>> 
>>>> Why?  I mean, by all means decide the name of the output file(s) before
>>> you
>>>> build the JCL, but let the JCL allocate it/them.
>>>> 
>>>> 
>>>>> File manger abends trying to display the output
>>>> 
>>>> What abend code?
>>>> 
>>>> Are the batch jobs finished at that point?
>>>> 
>>>> 
>>>> --
>>>> Jeremy Nicoll - my opinions are my own.
>>>> 
>>>> --
>>>> 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
>>> 
>>> --
>>> 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
> 
> --
> 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

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Filemanger abend and dynamic allocation

2021-08-13 Thread Seymour J Metz
Then it's time to report the problem, but I'd advise including complete 
descriptions of the two allocations.


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3


From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of 
Joseph Reichman [reichman...@gmail.com]
Sent: Friday, August 13, 2021 10:29 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Filemanger abend and dynamic allocation

The s0c9 is in file manager trying to bring up the initial panel



> On Aug 13, 2021, at 9:42 AM, Gilson Cesar de Oliveira  
> wrote:
>
> Em sex., 13 de ago. de 2021 às 10:31, Seymour J Metz 
> escreveu:
>
>> Where is the S0C9? Has the batch job completed? What is in the ALLOC and
>> what are the TUs of the DYNALLOC?
>>
>>
>> --
>> Shmuel (Seymour J.) Metz
>> http://mason.gmu.edu/~smetz3
>>
>> 
>> From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf
>> of Joseph Reichman [reichman...@gmail.com]
>> Sent: Thursday, August 12, 2021 5:23 PM
>> To: IBM-MAIN@LISTSERV.UA.EDU
>> Subject: Re: Filemanger abend and dynamic allocation
>>
>> I got a soc9 divide exception
>> This abend is from my job joseph.reich...@irs.gov except I cannt post
>> from that email
>> You mentioned sysprint however I don’t remember allocating it in either
>> case
>> It seems that the file I want to browse just has to be pointed to my Rexx
>> variable filein
>> It also seems that file manager dynamically allocates filein that’s just
>> by doing tso isrddn and seeing a sys…… DD allocated to the dsname as in the
>> case where SVC 99 returns the ddname I think that’s key 1
>>
>> Also when the abend happens I do actually get into the file manager panel
>> as it trying to read the input the all of the sudden abends pgm=filemngr
>> it’s from memory but I do believe that’s it with a s0c9
>>
>>
>>
>>> On Aug 12, 2021, at 4:45 PM, Jeremy Nicoll <
>> jn.ls.mfrm...@letterboxes.org> wrote:
>>>
>>> On Thu, 12 Aug 2021, at 20:28, Joseph Reichman wrote:
>>>
>>>> If the input is multiple files then I allocate the output via ADDRESS
>> TSO “ALLOC
>>>
>>> Why?  I mean, by all means decide the name of the output file(s) before
>> you
>>> build the JCL, but let the JCL allocate it/them.
>>>
>>>
>>>> File manger abends trying to display the output
>>>
>>> What abend code?
>>>
>>> Are the batch jobs finished at that point?
>>>
>>>
>>> --
>>> Jeremy Nicoll - my opinions are my own.
>>>
>>> --
>>> 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
>>
>> --
>> 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

--
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


Re: Filemanger abend and dynamic allocation

2021-08-13 Thread Joseph Reichman
The sysprog is in Monday 

Thanks 



> On Aug 13, 2021, at 11:22 AM, Rob Scott  wrote:
> 
> My advice is to get the module name and offset and report the problem to IBM.
> 
> Rob Scott
> Rocket Software
> 
> From: IBM Mainframe Discussion List  On Behalf Of 
> Joseph Reichman
> Sent: 13 August 2021 16:04
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: Filemanger abend and dynamic allocation
> 
> EXTERNAL EMAIL
> 
> 
> 
> Mike don’t think it’s the number of records
> Even with a very small file I get the s0c9
> 
> I m trying to change the logic to use dynamic allocation and see if that 
> works as that’s the only difference in logic between a batch submit and 
> executing the program under TSO
> 
> Thanks
> 
> 
> 
>> On Aug 13, 2021, at 10:55 AM, mike.lamartina 
>> mailto:mike.lamart...@mcleansoft.com>> wrote:
>> 
>> Related: 
>> https://ibmmainframes.com/about59624.html<https://ibmmainframes.com/about59624.html>
>> 
>> On 8/13/2021 7:29:33 AM, Joseph Reichman 
>> mailto:reichman...@gmail.com>> wrote:
>> The s0c9 is in file manager trying to bring up the initial panel
>> 
>> 
>> 
>>>> On Aug 13, 2021, at 9:42 AM, Gilson Cesar de Oliveira wrote:
>>> 
>>> Em sex., 13 de ago. de 2021 às 10:31, Seymour J Metz
>>> escreveu:
>>> 
>>>> Where is the S0C9? Has the batch job completed? What is in the ALLOC and
>>>> what are the TUs of the DYNALLOC?
>>>> 
>>>> 
>>>> --
>>>> Shmuel (Seymour J.) Metz
>>>> http://mason.gmu.edu/~smetz3<http://mason.gmu.edu/~smetz3>
>>>> 
>>>> 
>>>> From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf
>>>> of Joseph Reichman [reichman...@gmail.com]
>>>> Sent: Thursday, August 12, 2021 5:23 PM
>>>> To: IBM-MAIN@LISTSERV.UA.EDU<mailto:IBM-MAIN@LISTSERV.UA.EDU>
>>>> Subject: Re: Filemanger abend and dynamic allocation
>>>> 
>>>> I got a soc9 divide exception
>>>> This abend is from my job 
>>>> joseph.reich...@irs.gov<mailto:joseph.reich...@irs.gov> except I cannt post
>>>> from that email
>>>> You mentioned sysprint however I don’t remember allocating it in either
>>>> case
>>>> It seems that the file I want to browse just has to be pointed to my Rexx
>>>> variable filein
>>>> It also seems that file manager dynamically allocates filein that’s just
>>>> by doing tso isrddn and seeing a sys…… DD allocated to the dsname as in the
>>>> case where SVC 99 returns the ddname I think that’s key 1
>>>> 
>>>> Also when the abend happens I do actually get into the file manager panel
>>>> as it trying to read the input the all of the sudden abends pgm=filemngr
>>>> it’s from memory but I do believe that’s it with a s0c9
>>>> 
>>>> 
>>>> 
>>>>> On Aug 12, 2021, at 4:45 PM, Jeremy Nicoll <
>>>> jn.ls.mfrm...@letterboxes.org<mailto:jn.ls.mfrm...@letterboxes.org>> wrote:
>>>>> 
>>>>> On Thu, 12 Aug 2021, at 20:28, Joseph Reichman wrote:
>>>>> 
>>>>>> If the input is multiple files then I allocate the output via ADDRESS
>>>> TSO “ALLOC
>>>>> 
>>>>> Why? I mean, by all means decide the name of the output file(s) before
>>>> you
>>>>> build the JCL, but let the JCL allocate it/them.
>>>>> 
>>>>> 
>>>>>> File manger abends trying to display the output
>>>>> 
>>>>> What abend code?
>>>>> 
>>>>> Are the batch jobs finished at that point?
>>>>> 
>>>>> 
>>>>> --
>>>>> Jeremy Nicoll - my opinions are my own.
>>>>> 
>>>>> --
>>>>> For IBM-MAIN subscribe / signoff / archive access instructions,
>>>>> send email to lists...@listserv.ua.edu<mailto: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<mailto:lists...@listserv.ua.edu> 
>>>> with the message: INFO IBM-MAIN
>>>&

Re: Filemanger abend and dynamic allocation

2021-08-13 Thread Rob Scott
My advice is to get the module name and offset and report the problem to IBM.

Rob Scott
Rocket Software

From: IBM Mainframe Discussion List  On Behalf Of 
Joseph Reichman
Sent: 13 August 2021 16:04
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Filemanger abend and dynamic allocation

EXTERNAL EMAIL



Mike don’t think it’s the number of records
Even with a very small file I get the s0c9

I m trying to change the logic to use dynamic allocation and see if that works 
as that’s the only difference in logic between a batch submit and executing the 
program under TSO

Thanks



> On Aug 13, 2021, at 10:55 AM, mike.lamartina 
> mailto:mike.lamart...@mcleansoft.com>> wrote:
>
> Related: 
> https://ibmmainframes.com/about59624.html<https://ibmmainframes.com/about59624.html>
>
> On 8/13/2021 7:29:33 AM, Joseph Reichman 
> mailto:reichman...@gmail.com>> wrote:
> The s0c9 is in file manager trying to bring up the initial panel
>
>
>
>> On Aug 13, 2021, at 9:42 AM, Gilson Cesar de Oliveira wrote:
>>
>> Em sex., 13 de ago. de 2021 às 10:31, Seymour J Metz
>> escreveu:
>>
>>> Where is the S0C9? Has the batch job completed? What is in the ALLOC and
>>> what are the TUs of the DYNALLOC?
>>>
>>>
>>> --
>>> Shmuel (Seymour J.) Metz
>>> http://mason.gmu.edu/~smetz3<http://mason.gmu.edu/~smetz3>
>>>
>>> 
>>> From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf
>>> of Joseph Reichman [reichman...@gmail.com]
>>> Sent: Thursday, August 12, 2021 5:23 PM
>>> To: IBM-MAIN@LISTSERV.UA.EDU<mailto:IBM-MAIN@LISTSERV.UA.EDU>
>>> Subject: Re: Filemanger abend and dynamic allocation
>>>
>>> I got a soc9 divide exception
>>> This abend is from my job 
>>> joseph.reich...@irs.gov<mailto:joseph.reich...@irs.gov> except I cannt post
>>> from that email
>>> You mentioned sysprint however I don’t remember allocating it in either
>>> case
>>> It seems that the file I want to browse just has to be pointed to my Rexx
>>> variable filein
>>> It also seems that file manager dynamically allocates filein that’s just
>>> by doing tso isrddn and seeing a sys…… DD allocated to the dsname as in the
>>> case where SVC 99 returns the ddname I think that’s key 1
>>>
>>> Also when the abend happens I do actually get into the file manager panel
>>> as it trying to read the input the all of the sudden abends pgm=filemngr
>>> it’s from memory but I do believe that’s it with a s0c9
>>>
>>>
>>>
>>>> On Aug 12, 2021, at 4:45 PM, Jeremy Nicoll <
>>> jn.ls.mfrm...@letterboxes.org<mailto:jn.ls.mfrm...@letterboxes.org>> wrote:
>>>>
>>>> On Thu, 12 Aug 2021, at 20:28, Joseph Reichman wrote:
>>>>
>>>>> If the input is multiple files then I allocate the output via ADDRESS
>>> TSO “ALLOC
>>>>
>>>> Why? I mean, by all means decide the name of the output file(s) before
>>> you
>>>> build the JCL, but let the JCL allocate it/them.
>>>>
>>>>
>>>>> File manger abends trying to display the output
>>>>
>>>> What abend code?
>>>>
>>>> Are the batch jobs finished at that point?
>>>>
>>>>
>>>> --
>>>> Jeremy Nicoll - my opinions are my own.
>>>>
>>>> --
>>>> For IBM-MAIN subscribe / signoff / archive access instructions,
>>>> send email to lists...@listserv.ua.edu<mailto: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<mailto: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<mailto: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<mailto:lists...@listserv.ua.edu> with 
>> the message:

Re: Filemanger abend and dynamic allocation

2021-08-13 Thread Joseph Reichman
Mike don’t think it’s the number of records 
Even with a very small file I get the s0c9

I m trying to change the logic to use dynamic allocation and see if that works 
as that’s the only difference in logic between a batch submit and executing the 
program under TSO

Thanks 



> On Aug 13, 2021, at 10:55 AM, mike.lamartina  
> wrote:
> 
> Related: https://ibmmainframes.com/about59624.html
> 
> On 8/13/2021 7:29:33 AM, Joseph Reichman  wrote:
> The s0c9 is in file manager trying to bring up the initial panel
> 
> 
> 
>> On Aug 13, 2021, at 9:42 AM, Gilson Cesar de Oliveira wrote:
>> 
>> Em sex., 13 de ago. de 2021 às 10:31, Seymour J Metz
>> escreveu:
>> 
>>> Where is the S0C9? Has the batch job completed? What is in the ALLOC and
>>> what are the TUs of the DYNALLOC?
>>> 
>>> 
>>> --
>>> Shmuel (Seymour J.) Metz
>>> http://mason.gmu.edu/~smetz3
>>> 
>>> 
>>> From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf
>>> of Joseph Reichman [reichman...@gmail.com]
>>> Sent: Thursday, August 12, 2021 5:23 PM
>>> To: IBM-MAIN@LISTSERV.UA.EDU
>>> Subject: Re: Filemanger abend and dynamic allocation
>>> 
>>> I got a soc9 divide exception
>>> This abend is from my job joseph.reich...@irs.gov except I cannt post
>>> from that email
>>> You mentioned sysprint however I don’t remember allocating it in either
>>> case
>>> It seems that the file I want to browse just has to be pointed to my Rexx
>>> variable filein
>>> It also seems that file manager dynamically allocates filein that’s just
>>> by doing tso isrddn and seeing a sys…… DD allocated to the dsname as in the
>>> case where SVC 99 returns the ddname I think that’s key 1
>>> 
>>> Also when the abend happens I do actually get into the file manager panel
>>> as it trying to read the input the all of the sudden abends pgm=filemngr
>>> it’s from memory but I do believe that’s it with a s0c9
>>> 
>>> 
>>> 
>>>> On Aug 12, 2021, at 4:45 PM, Jeremy Nicoll <
>>> jn.ls.mfrm...@letterboxes.org> wrote:
>>>> 
>>>> On Thu, 12 Aug 2021, at 20:28, Joseph Reichman wrote:
>>>> 
>>>>> If the input is multiple files then I allocate the output via ADDRESS
>>> TSO “ALLOC
>>>> 
>>>> Why? I mean, by all means decide the name of the output file(s) before
>>> you
>>>> build the JCL, but let the JCL allocate it/them.
>>>> 
>>>> 
>>>>> File manger abends trying to display the output
>>>> 
>>>> What abend code?
>>>> 
>>>> Are the batch jobs finished at that point?
>>>> 
>>>> 
>>>> --
>>>> Jeremy Nicoll - my opinions are my own.
>>>> 
>>>> --
>>>> 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
>>> 
>>> --
>>> 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
> 
> --
> 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

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Filemanger abend and dynamic allocation

2021-08-13 Thread mike.lamartina
Related: https://ibmmainframes.com/about59624.html

On 8/13/2021 7:29:33 AM, Joseph Reichman  wrote:
The s0c9 is in file manager trying to bring up the initial panel



> On Aug 13, 2021, at 9:42 AM, Gilson Cesar de Oliveira wrote:
>
> Em sex., 13 de ago. de 2021 às 10:31, Seymour J Metz
> escreveu:
>
>> Where is the S0C9? Has the batch job completed? What is in the ALLOC and
>> what are the TUs of the DYNALLOC?
>>
>>
>> --
>> Shmuel (Seymour J.) Metz
>> http://mason.gmu.edu/~smetz3
>>
>> 
>> From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf
>> of Joseph Reichman [reichman...@gmail.com]
>> Sent: Thursday, August 12, 2021 5:23 PM
>> To: IBM-MAIN@LISTSERV.UA.EDU
>> Subject: Re: Filemanger abend and dynamic allocation
>>
>> I got a soc9 divide exception
>> This abend is from my job joseph.reich...@irs.gov except I cannt post
>> from that email
>> You mentioned sysprint however I don’t remember allocating it in either
>> case
>> It seems that the file I want to browse just has to be pointed to my Rexx
>> variable filein
>> It also seems that file manager dynamically allocates filein that’s just
>> by doing tso isrddn and seeing a sys…… DD allocated to the dsname as in the
>> case where SVC 99 returns the ddname I think that’s key 1
>>
>> Also when the abend happens I do actually get into the file manager panel
>> as it trying to read the input the all of the sudden abends pgm=filemngr
>> it’s from memory but I do believe that’s it with a s0c9
>>
>>
>>
>>> On Aug 12, 2021, at 4:45 PM, Jeremy Nicoll <
>> jn.ls.mfrm...@letterboxes.org> wrote:
>>>
>>> On Thu, 12 Aug 2021, at 20:28, Joseph Reichman wrote:
>>>
>>>> If the input is multiple files then I allocate the output via ADDRESS
>> TSO “ALLOC
>>>
>>> Why? I mean, by all means decide the name of the output file(s) before
>> you
>>> build the JCL, but let the JCL allocate it/them.
>>>
>>>
>>>> File manger abends trying to display the output
>>>
>>> What abend code?
>>>
>>> Are the batch jobs finished at that point?
>>>
>>>
>>> --
>>> Jeremy Nicoll - my opinions are my own.
>>>
>>> --
>>> 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
>>
>> --
>> 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

--
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


Re: Filemanger abend and dynamic allocation

2021-08-13 Thread Joseph Reichman
The s0c9 is in file manager trying to bring up the initial panel 



> On Aug 13, 2021, at 9:42 AM, Gilson Cesar de Oliveira  
> wrote:
> 
> Em sex., 13 de ago. de 2021 às 10:31, Seymour J Metz 
> escreveu:
> 
>> Where is the S0C9? Has the batch job completed? What is in the ALLOC and
>> what are the TUs of the DYNALLOC?
>> 
>> 
>> --
>> Shmuel (Seymour J.) Metz
>> http://mason.gmu.edu/~smetz3
>> 
>> 
>> From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf
>> of Joseph Reichman [reichman...@gmail.com]
>> Sent: Thursday, August 12, 2021 5:23 PM
>> To: IBM-MAIN@LISTSERV.UA.EDU
>> Subject: Re: Filemanger abend and dynamic allocation
>> 
>> I got a soc9 divide exception
>> This abend is from my job joseph.reich...@irs.gov except I cannt post
>> from that email
>> You mentioned sysprint however I don’t remember allocating it in either
>> case
>> It seems that the file I want to browse just has to be pointed to my Rexx
>> variable filein
>> It also seems that file manager dynamically allocates filein that’s just
>> by doing tso isrddn and seeing a sys…… DD allocated to the dsname as in the
>> case where SVC 99 returns the ddname I think that’s key 1
>> 
>> Also when the abend happens I do actually get into the file manager panel
>> as it trying to read the input the all of the sudden abends pgm=filemngr
>> it’s from memory but I do believe that’s it with a s0c9
>> 
>> 
>> 
>>> On Aug 12, 2021, at 4:45 PM, Jeremy Nicoll <
>> jn.ls.mfrm...@letterboxes.org> wrote:
>>> 
>>> On Thu, 12 Aug 2021, at 20:28, Joseph Reichman wrote:
>>> 
>>>> If the input is multiple files then I allocate the output via ADDRESS
>> TSO “ALLOC
>>> 
>>> Why?  I mean, by all means decide the name of the output file(s) before
>> you
>>> build the JCL, but let the JCL allocate it/them.
>>> 
>>> 
>>>> File manger abends trying to display the output
>>> 
>>> What abend code?
>>> 
>>> Are the batch jobs finished at that point?
>>> 
>>> 
>>> --
>>> Jeremy Nicoll - my opinions are my own.
>>> 
>>> --
>>> 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
>> 
>> --
>> 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

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Filemanger abend and dynamic allocation

2021-08-13 Thread Gilson Cesar de Oliveira
Em sex., 13 de ago. de 2021 às 10:31, Seymour J Metz 
escreveu:

> Where is the S0C9? Has the batch job completed? What is in the ALLOC and
> what are the TUs of the DYNALLOC?
>
>
> --
> Shmuel (Seymour J.) Metz
> http://mason.gmu.edu/~smetz3
>
> 
> From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf
> of Joseph Reichman [reichman...@gmail.com]
> Sent: Thursday, August 12, 2021 5:23 PM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: Filemanger abend and dynamic allocation
>
> I got a soc9 divide exception
> This abend is from my job joseph.reich...@irs.gov except I cannt post
> from that email
> You mentioned sysprint however I don’t remember allocating it in either
> case
> It seems that the file I want to browse just has to be pointed to my Rexx
> variable filein
> It also seems that file manager dynamically allocates filein that’s just
> by doing tso isrddn and seeing a sys…… DD allocated to the dsname as in the
> case where SVC 99 returns the ddname I think that’s key 1
>
> Also when the abend happens I do actually get into the file manager panel
> as it trying to read the input the all of the sudden abends pgm=filemngr
> it’s from memory but I do believe that’s it with a s0c9
>
>
>
> > On Aug 12, 2021, at 4:45 PM, Jeremy Nicoll <
> jn.ls.mfrm...@letterboxes.org> wrote:
> >
> > On Thu, 12 Aug 2021, at 20:28, Joseph Reichman wrote:
> >
> >> If the input is multiple files then I allocate the output via ADDRESS
> TSO “ALLOC
> >
> > Why?  I mean, by all means decide the name of the output file(s) before
> you
> > build the JCL, but let the JCL allocate it/them.
> >
> >
> >> File manger abends trying to display the output
> >
> > What abend code?
> >
> > Are the batch jobs finished at that point?
> >
> >
> > --
> > Jeremy Nicoll - my opinions are my own.
> >
> > --
> > 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
>
> --
> 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


Re: Filemanger abend and dynamic allocation

2021-08-13 Thread Seymour J Metz
Where is the S0C9? Has the batch job completed? What is in the ALLOC and what 
are the TUs of the DYNALLOC?


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3


From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of 
Joseph Reichman [reichman...@gmail.com]
Sent: Thursday, August 12, 2021 5:23 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Filemanger abend and dynamic allocation

I got a soc9 divide exception
This abend is from my job joseph.reich...@irs.gov except I cannt post from that 
email
You mentioned sysprint however I don’t remember allocating it in either case
It seems that the file I want to browse just has to be pointed to my Rexx 
variable filein
It also seems that file manager dynamically allocates filein that’s just by 
doing tso isrddn and seeing a sys…… DD allocated to the dsname as in the case 
where SVC 99 returns the ddname I think that’s key 1

Also when the abend happens I do actually get into the file manager panel as it 
trying to read the input the all of the sudden abends pgm=filemngr it’s from 
memory but I do believe that’s it with a s0c9



> On Aug 12, 2021, at 4:45 PM, Jeremy Nicoll  
> wrote:
>
> On Thu, 12 Aug 2021, at 20:28, Joseph Reichman wrote:
>
>> If the input is multiple files then I allocate the output via ADDRESS TSO 
>> “ALLOC
>
> Why?  I mean, by all means decide the name of the output file(s) before you
> build the JCL, but let the JCL allocate it/them.
>
>
>> File manger abends trying to display the output
>
> What abend code?
>
> Are the batch jobs finished at that point?
>
>
> --
> Jeremy Nicoll - my opinions are my own.
>
> --
> 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

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Filemanger abend and dynamic allocation

2021-08-13 Thread Greg Price

On 8/13/2021 8:26 AM, Sri h Kolusu wrote:

I got a soc9 divide exception

S0C9 abend is usually due to divide by zero.


Can also get it from a CVB where the decimal number is too big for 
32-bit binary, as I recently found out in one of my efforts...

:)

Cheers,
Greg

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Filemanger abend and dynamic allocation

2021-08-13 Thread Jeremy Nicoll
On Thu, 12 Aug 2021, at 23:51, Joseph Reichman wrote:

> The only difference using SVC 99 to allocate the file I am able to get 
> into file manager 
> With tso ALLOC I blow up

That suggests your ALLOC is not coded properly; it might work, but is 
not creating the same sort of file.

This information: 

> 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 || “)”

is nearly useless (to us) and we cannot see what any of the variables
you defined actually contain.

Have you tried tracing the exec to make sure that 
the contents of the "select cmd" are actually what you expect?

Is there anything odd about the file names involved?

As other people have asked, are the file's characteristics (recfm lrecl
etc) identical in the working and failing instances?


-- 
Jeremy Nicoll - my opinions are my own.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Filemanger abend and dynamic allocation

2021-08-12 Thread Joseph Reichman
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  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


Re: Filemanger abend and dynamic allocation

2021-08-12 Thread Sri h Kolusu
> 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


Re: Filemanger abend and dynamic allocation

2021-08-12 Thread Joseph Reichman
I got a soc9 divide exception 
This abend is from my job joseph.reich...@irs.gov except I cannt post from that 
email 
You mentioned sysprint however I don’t remember allocating it in either case 
It seems that the file I want to browse just has to be pointed to my Rexx 
variable filein 
It also seems that file manager dynamically allocates filein that’s just by 
doing tso isrddn and seeing a sys…… DD allocated to the dsname as in the case 
where SVC 99 returns the ddname I think that’s key 1 

Also when the abend happens I do actually get into the file manager panel as it 
trying to read the input the all of the sudden abends pgm=filemngr it’s from 
memory but I do believe that’s it with a s0c9



> On Aug 12, 2021, at 4:45 PM, Jeremy Nicoll  
> wrote:
> 
> On Thu, 12 Aug 2021, at 20:28, Joseph Reichman wrote:
> 
>> If the input is multiple files then I allocate the output via ADDRESS TSO 
>> “ALLOC
> 
> Why?  I mean, by all means decide the name of the output file(s) before you 
> build the JCL, but let the JCL allocate it/them. 
> 
> 
>> File manger abends trying to display the output 
> 
> What abend code?
> 
> Are the batch jobs finished at that point?
> 
> 
> -- 
> Jeremy Nicoll - my opinions are my own.
> 
> --
> 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


Re: Filemanger abend and dynamic allocation

2021-08-12 Thread Jeremy Nicoll
On Thu, 12 Aug 2021, at 20:28, Joseph Reichman wrote:

> If the input is multiple files then I allocate the output via ADDRESS TSO 
> “ALLOC

Why?  I mean, by all means decide the name of the output file(s) before you 
build the JCL, but let the JCL allocate it/them. 


> File manger abends trying to display the output 

What abend code?

Are the batch jobs finished at that point?


-- 
Jeremy Nicoll - my opinions are my own.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Filemanger abend and dynamic allocation

2021-08-12 Thread Sri h Kolusu
Joseph,

You haven't really shown the abend messages you are getting. Taking an
educated guess, you probably had a mismatch of the file attributes.  The
SYSPRINT dd for file manager has the following attributes

 LRECL = 32756, BLKSIZE = 32760, RECFM = VBA


Thanks,
Kolusu

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Filemanger abend and dynamic allocation

2021-08-12 Thread Joseph Reichman
Hi 

I have a Rexx exec which implement a program that does a search for data and 
writes the result to a output file 

The exec takes 2 paths depending if the input dsn is a wild card type like 3.4 
In this case the input can be many 10’s or 100 of files 

Or the input can be one file 

If the input is just one file I run the entire process in foreground under tso 
In this case I dynamically allocate the output file via SVC 99 
After from Rexx I invoke file manager to display the output

If the input is multiple files then I allocate the output via ADDRESS TSO “ALLOC

Later on I build JCL and one or more submits 

The difference is when I use the process that’s submits jobs in which case I 
allocate the output file via TSO ALLOC 

File manger abends trying to display the output 

In both cases I use the same Rexx variables TCIN TCLIB and FILEIN

Followed by ADDRESS ISPEXEC “SELECT CMD(FILEMGR $DSV….

My question is why when allocation a file via TSO ALLOC does file manager abend 
while allocating the file via SVC 99 it works 

It had nothing to do with the number of records in the output as on input I 
tried an input file appending a * to the end of the dsn which drove my logic to 
tso ALLOC and batch submission ( even though it was one file) 

Thanks in advance 

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN