MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Heapp Tuning Issue

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
EX_Steve
Beginner


Joined: 26 Dec 2007
Posts: 3
Topics: 1

PostPosted: Thu Dec 27, 2007 8:58 am    Post subject: Heapp Tuning Issue Reply with quote

Hello,
I'm trying to apply Heappools tuning to my JCL parm, but having some problems. According to IBM's blurb, I can run with RPTSTG(ON) & HEAPPOOLS(ON) in my JCL, (it's not on by default in the program I am running), and then apply the suggested cell sizes, before rerunning to get the optimum settings.
So I did the first step , using this parm statement:-
PARM='RPTOPTS(ON),RPTSTG(ON)/-USECONTROL=YES'
and the suggested cell sizes are listed as this:-
*
Suggested Cell Sizes:
HEAPP(ON,
32,,72,,152,,240,,400,,712,,
1472,,2352,,6408,,16472,,35056,,62992,)
*
I now need to run with RPTSTG(ON) again to get the optimum settings and my prog also requires the USECONTROL parm as above.
However when I try and set this up, because the HEAPP is so long, I always get a JCL error, either:-
EXCESSIVE NUMBER OF POSITIONAL PARAMETERS ON THE EXEC STATEME
or
EXPECTED CONTINUATION NOT RECIEVED.
*
How can i use the suggested Heappools settings, the RPTSTG setting and my programs control parm all in one exec statement without error?
Thanks.
Back to top
View user's profile Send private message
Bill Dennis
Advanced


Joined: 03 Dec 2002
Posts: 579
Topics: 1
Location: Iowa, USA

PostPosted: Thu Dec 27, 2007 9:15 am    Post subject: Reply with quote

Use a two line PARM each line in single quote, comma between, all enclosed in parens. The comma between lines 1 and 2 will be part of the PARM data.
Code:
// PARM=('HEAPP(ON,.....',         <- continue w/comma
//   'RPTSTG(ON)/-USECONTROL=YES')

Of course, max len is 100 bytes.
_________________
Regards,
Bill Dennis

Disclaimer: My comments on this foorum are my own and do not represent the opinions or suggestions of any other person or business entity.
Back to top
View user's profile Send private message
EX_Steve
Beginner


Joined: 26 Dec 2007
Posts: 3
Topics: 1

PostPosted: Thu Dec 27, 2007 12:59 pm    Post subject: Reply with quote

Thanks Bill, I guess that answers my question.
Problem I've then got is that my parm is going to be above 100 chars. So I code like this:-
// PARM=('HEAP(ON,32,,72,,152,,240,,400,,712,,',
// '1472,,2352,,6408,,16472,,35056,,62992,)',
// 'RPTSTG(ON)/-USECONTROL=YES')
& get an error like this:-
6 IEF642I EXCESSIVE PARAMETER LENGTH IN THE PARM FIELD
*
Which will either be because maybe I still didn't follow your instructions quite correctly, or the length is over 100 chars - which it will be.
Is there any way to get around the 100 char limit with symbolic references or something?
Back to top
View user's profile Send private message
jsharon1248
Intermediate


Joined: 08 Aug 2007
Posts: 291
Topics: 2
Location: Chicago

PostPosted: Thu Dec 27, 2007 2:35 pm    Post subject: Reply with quote

I saw some documentation for a CEEOPTS DD statement where you can pass LE options to a program. You could try that rather than passing it as a parm.

http://publibz.boulder.ibm.com/bookmgr_OS390/libraryserver/zosv1r9/

Language Environment
z/OS V1R9.0 Language Environment Programming Reference
1.1.6 Using the CEEOPTS DD statement
Back to top
View user's profile Send private message
Bill Dennis
Advanced


Joined: 03 Dec 2002
Posts: 579
Topics: 1
Location: Iowa, USA

PostPosted: Thu Dec 27, 2007 2:57 pm    Post subject: Reply with quote

Using symbolics can help you put a long parm on a single JCL stmnt, but you can't exceed the 100 byte limit, so I hope the link from jsharon will solve the problem.
_________________
Regards,
Bill Dennis

Disclaimer: My comments on this foorum are my own and do not represent the opinions or suggestions of any other person or business entity.
Back to top
View user's profile Send private message
EX_Steve
Beginner


Joined: 26 Dec 2007
Posts: 3
Topics: 1

PostPosted: Thu Dec 27, 2007 4:39 pm    Post subject: Reply with quote

OK Thanks, you have both been a great help.
The CEEOPTS DD is only available from z/OS 1.7 and I'm stuck in 1.5.
*
So I guess I have to figure out what I can safely drop from the Heapp(on statement to reduce the length of the parm to <100 chars.
Thanks.

Am I suppose to close out this thread somehow?
Back to top
View user's profile Send private message
jsharon1248
Intermediate


Joined: 08 Aug 2007
Posts: 291
Topics: 2
Location: Chicago

PostPosted: Thu Dec 27, 2007 4:47 pm    Post subject: Reply with quote

You can eek out a couple characters here and there by using K for the larger storage amounts. Use 16K to replace 16472 and so forth. I don't know if that will give you enough. Also, I'm not so certain you can split a parm in the middle of a subparameter. I think there's special rules you might need to follow. Based on my memory (which is faulty at best), you need to extend the parm to column 71 and then start the parm on the next line in column 16. You'll want to double check that in a JCL manual. You could define a couple symbolic parms if you're still having trouble continuing the parm to more than one line.
Back to top
View user's profile Send private message
nevilh
Beginner


Joined: 11 Aug 2004
Posts: 115
Topics: 0

PostPosted: Fri Dec 28, 2007 3:48 pm    Post subject: Reply with quote

With 1.5 you can create your own version of the LE options and link them together with your loadmod . I think your version of the options must be called CEEUOPT
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group