Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Region Parameter

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
View previous topic :: :: View next topic  
Author Message
Priyesh Tewari

New User


Joined: 24 Jun 2008
Posts: 7
Location: Pune

PostPosted: Fri May 21, 2010 12:57 pm    Post subject: Region Parameter
Reply with quote

Hi,
Can somebdy clarify this for me? This question was asked to me yesterday
I have a job that contains 5 steps. In the job card it is specified that region=4k.
Now in the exec part of steps the region parm is specied as
step 1 region = 4k
step 2 region = 2k
step 3 region = 8k
step 4 region= 6k
step 5 region = 8k

Will this job run??

Thanks
Priyesh
Back to top
View user's profile Send private message

Gousiya Mulla

New User


Joined: 02 Jun 2008
Posts: 87
Location: Bangalore

PostPosted: Fri May 21, 2010 1:11 pm    Post subject:
Reply with quote

I don't think there should be any reason for job not to run having definition of Region as :

Code:

The REGION parameter specifies the maximum size of the execution   
region for any job step in this job.  The value specified is the   
amount in K (1024 byte units) or M (1024*1024 byte units) which will
be the upper limit on the amount of virtual storage that can be     
obtained via GETMAIN requests by any step in the job.  The REGION= 
value on the JOB statement overrides the REGION= values on any EXEC
statement in the job.  The REGION= value coded on an EXEC statement
in the job is only used if no REGION= value is coded on the JOB     
statement.                     
                                   
Back to top
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1458
Location: Azeroth

PostPosted: Fri May 21, 2010 2:48 pm    Post subject:
Reply with quote

The Region parameter on the job card applies to all the steps in the job except steps which have their own localised REGION parameter coded.

If a step has REGION parameter then the job card REGION parameter will be ignored. The value mentioned on the step would be effective for that step.


Quote:
Will this job run??

Yes

Hope this helps.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Fri May 21, 2010 4:13 pm    Post subject:
Reply with quote

This question looks somewhat in-complete, was there any follow-up question after this from you, interviewer?

As Gousiya has said, The REGION= value on the JOB statement overrides the REGION= values on any EXEC statement in the job. The REGION= value coded on an EXEC statement in the job is only used if no REGION= value is coded on the JOB statement. So in case, 8k is coded on some of the steps, while job-card says to use maximum of just 4k, and those steps in real need that much of virtual storage, your job may abend with S106-0C.

So, job will run but might get an abend.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Fri May 21, 2010 4:23 pm    Post subject:
Reply with quote

vasanthz wrote:
The Region parameter on the job card applies to all the steps in the job except steps which have their own localised REGION parameter coded.

If a step has REGION parameter then the job card REGION parameter will be ignored. The value mentioned on the step would be effective for that step.
Unfortunately, this is not correct.

At my shop this job
Quote:
//jobname JOB (@),'IBMMAIN',
// CLASS=Z,MSGCLASS=0,NOTIFY=&SYSUID,REGION=10K
//***
//S3 EXEC PGM=ICETOOL,REGION=450K
//TOOLMSG DD SYSOUT=*
//DFSMSG DD SYSOUT=*
//IN1 DD *
.
.
abends with S106-0C:
Quote:
Display Filter View Print Options Help
-----------------------------------------------------------------------------
SDSF OUTPUT DISPLAY jobname JOB14526 DSID 2 LINE CHARS 'ABEN' FOUND
COMMAND INPUT ===> SCROLL ===> CSR
06.39.28 JOB14526 CSV028I ABEND106-0C JOBNAME=jobname STEPNAME=S3
06.39.28 JOB14526 IEA995I SYMPTOM DUMP OUTPUT 597
597 SYSTEM COMPLETION CODE=106 REASON CODE=0000000C

From manuals:
Quote:
SYSTEM COMPLETION CODE=106 REASON CODE=0000000C

Explanation: An error occurred during processing of a LINK(X), LOAD,
ATTACH(X), or XCTL(X) macro.

An error was detected by the control program when it attempted to fetch the requested program into virtual storage. The return code in register 15 identifies the error; see accompanying messages CSV031I and CSV028I to determine the reason code. For PMLOADER internal errors not listed, contact the IBM Support Center.

0C Not enough storage was available for FETCH to get storage for the module or control blocks.

0C No storage for I/O supervisor block (IOSB).
Back to top
View user's profile Send private message
Priyesh Tewari

New User


Joined: 24 Jun 2008
Posts: 7
Location: Pune

PostPosted: Mon May 24, 2010 2:20 pm    Post subject:
Reply with quote

Thanks all for the replies...
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts DDNAME parameter mistah kurtz JCL & VSAM 6 Mon Dec 19, 2016 4:41 pm
No new posts Execessive parameter issue Sumeendar JCL & VSAM 5 Mon Dec 19, 2016 4:35 pm
No new posts INDEPENDENT CICS TS 4.1 MRO REGION UP... Kyle Carroll CICS 0 Wed Dec 14, 2016 6:55 pm
No new posts TOT & DATE parameter in ICEMAN hemanthj642 DFSORT/ICETOOL 4 Mon Nov 14, 2016 5:19 am
No new posts How to display value of an exit param... lind sh CICS 2 Sun Oct 09, 2016 12:28 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us