Page 1 of 1

SYSTEM COMPLETION CODE=106 REASON CODE=0000000C.

Posted: Tue May 01, 2018 10:08 am
by Aarohi Saxena
Hi,

I am executing SRCHFOR in batch but I'm continuously getting the following error:

Code: Select all

SYSTEM COMPLETION CODE=106  REASON CODE=0000000C

Code: Select all

//SEARCH  EXEC PGM=ISRSUPC,            
//            PARM=(SRCHCMP,           
//            'ANYC')                  
//NEWDD  DD DSN=PROD....PROCLIB,    
//          DISP=SHR                   
//OUTDD  DD DSN=....SEARCH.OUT,     
//          DISP=(,CATLG,DELETE),      
//          SPACE=(CYL,(100,100),RLSE) 
//SYSIN  DD *                          
I thought it was space issue as JESMSGLG was shoing

Code: Select all

FAILED BECAUSE INSUFFICIENT STORAGE WAS AVAILABLE.
But upon increasing the the SPACE from SPACE=(CYL,(1,1),RLSE) to SPACE=(CYL,(10,10),RLSE) to SPACE=(CYL,(100,100),RLSE), it still abends with same error. Can someone help please?

Re: SYSTEM COMPLETION CODE=106 REASON CODE=0000000C.

Posted: Tue May 01, 2018 4:00 pm
by nicc
Why not look up the system code in the manual? The message has nothing to do with space but storage.

Re: SYSTEM COMPLETION CODE=106 REASON CODE=0000000C.

Posted: Tue May 01, 2018 5:39 pm
by enrico-sorichetti
googling with SYSTEM COMPLETION CODE 106 REASON CODE 0000000C
returned 1500 hits and the first one ( at least for my browser preferences ) pointed to the relevant IBM manual

if You are not able to search Yourself for such basic information a career shift should be considered 8-)

Re: SYSTEM COMPLETION CODE=106 REASON CODE=0000000C.

Posted: Thu May 03, 2018 6:42 pm
by Aarohi Saxena
Hi Enrico,

I did search for it and increased the space for the job. But it did not work for me.

Re: SYSTEM COMPLETION CODE=106 REASON CODE=0000000C.

Posted: Thu May 03, 2018 6:44 pm
by enrico-sorichetti
space
???

Re: SYSTEM COMPLETION CODE=106 REASON CODE=0000000C.

Posted: Thu May 03, 2018 7:08 pm
by nicc
What space? You do not have a space problem. You have not, obviously, read the entry for S106 in the System Codes manual.

Re: SYSTEM COMPLETION CODE=106 REASON CODE=0000000C.

Posted: Thu May 03, 2018 7:39 pm
by Robert Sample
I did search for it and increased the space for the job. But it did not work for me.
Are you even bothering to read the responses on this forum? For an S106 ABEND, you must increase the REGION parameter for your job -- either by changing the JOB REGION parameter or by adding it to your EXEC statement (and you may need to consult your site support group to know which to change). You can change all the DD SPACE parameters all you want and you will not change the S106 ABEND in any way.

Re: SYSTEM COMPLETION CODE=106 REASON CODE=0000000C.

Posted: Thu May 03, 2018 9:59 pm
by Aarohi Saxena
Thanks Robert. Just after my previous reply I got to see a link which said about that it's about REGION. I was using REGION=4K in my job card, changed it to 1M and it worked for me.

Thank you so much everybody! :)

Re: SYSTEM COMPLETION CODE=106 REASON CODE=0000000C.

Posted: Thu May 03, 2018 10:00 pm
by Aarohi Saxena
I confused storage with SPACE. :oops:

Re: SYSTEM COMPLETION CODE=106 REASON CODE=0000000C.

Posted: Thu May 03, 2018 11:39 pm
by Robert Sample
I confused storage with SPACE.
Terminology is CRITICAL in IT, where similar terms may mean very different things. If you confuse terms, you will definitely have problems resolving issues.

Re: SYSTEM COMPLETION CODE=106 REASON CODE=0000000C.

Posted: Sat May 05, 2018 8:30 pm
by Aarohi Saxena
Yes, right Robert. Thanks! :)