Get PARM values from data area



Ask about System customization & performance, Workload management, I/O device configuration etc.

Get PARM values from data area

Postby Mohan_zOS » Fri Apr 26, 2013 9:35 pm

Hi Folks,

I am here in search some leads on where to find values of parameters used when IPLing the system.
I did find some under CVT>CVTECVT>ECVTIPA>PDE for XXXX, but need to fetch parameter values (not directly from datasets) via either APIs or any available services.

As to why I need this, I am thinking of a utility like TASID (not that extensive!) but something similar in respect to listing of PARMLIB parameters.

Thanks for you time, Have a good one.

Regards,
Mohan
Mohan_zOS
 
Posts: 5
Joined: Sun Feb 24, 2013 9:12 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Get PARM values from data area

Postby enrico-sorichetti » Fri Apr 26, 2013 10:10 pm

why reinvent the wheel... use SHOWZOS
File # 492 Permanent home: SHOWzOS 7.20, 7.21 SHOWMVS 6.30, 7.10

available at
www.cbttape.org
here
http://www.cbttape.org/ftp/cbt/CBT492.zip
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 3006
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 165 times

Re: Get PARM values from data area

Postby nevilh » Fri Apr 26, 2013 10:37 pm

You will probably find what you are looking for in IPA control block. Take a look at SYS1.MACLIB(IHAIPA)
nevilh
 
Posts: 39
Joined: Wed Jun 01, 2011 8:28 pm
Has thanked: 0 time
Been thanked: 3 times

Re: Get PARM values from data area

Postby prino » Sat Apr 27, 2013 2:10 am

Robert AH Prins
robert.ah.prins @ the.17+Gb.Google thingy
User avatar
prino
 
Posts: 641
Joined: Wed Mar 11, 2009 12:22 am
Location: Vilnius, Lithuania
Has thanked: 3 times
Been thanked: 29 times

Re: Get PARM values from data area

Postby Mohan_zOS » Mon Apr 29, 2013 8:05 am

Hi Enrico,

You are right about using SHOWZOS, but I would like to take up this as an assignment for myself and try to get a grip of how zOS functions with all the passed parameters by accessing them directly from CBs and data areas.. May be this a little too much for a newbie, but I still want to give it a shot. Please help.

Hi Nevilh,

Thanks for that tip, I did find some direct values in IPA but for those parameters that takes suffix list as input.. I guess it should be somewhere else in the system that hold the final overridden values? Any pointers to where I could find those parameters (for E.g. SMF=SV is available IPA, but parameter values of SMFPRMSV would reside in?)

Hi Prino,

Mark's program was of great help, but still I couldn't find the list of all parameters used at IPL. Appreciate any advice.

I did search in ABC's of zOS System programming and the MVS Data Area manuals, but found not much.. may be I am not using the right terms to search.

Have a good day.

Regards,
Mohan
Mohan_zOS
 
Posts: 5
Joined: Sun Feb 24, 2013 9:12 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Get PARM values from data area

Postby jaggz » Mon Apr 29, 2013 10:26 am

Hello,

If you are talking about CONTROL BLOCKS and the DATA AREA. Then its worth giving a read on Z/OS architecture book and learning assembler at the base level too would help you understand the concepts.If talking about Z/OS parms used during IPL then try taking a SAD and read using IPCS or Download your Weekly SYSLOG to a PS file and check or there are many products which records IPLINFO in many formats.

Regards,
Jaggz
User avatar
jaggz
 
Posts: 356
Joined: Fri Jul 23, 2010 8:51 pm
Has thanked: 8 times
Been thanked: 5 times

Re: Get PARM values from data area

Postby nevilh » Mon Apr 29, 2013 5:18 pm

If you are looking for one control block where all the IPL information is stored, I am afraid you are out of luck. The information is scattered through the system. If you can be a bit more specific as to what you are looking for maybe someone will be able to point you in the right direction.
nevilh
 
Posts: 39
Joined: Wed Jun 01, 2011 8:28 pm
Has thanked: 0 time
Been thanked: 3 times

Re: Get PARM values from data area

Postby Robert Sample » Mon Apr 29, 2013 8:06 pm

but still I couldn't find the list of all parameters used at IPL. Appreciate any advice.
I think one of the real problems is that you have not clearly defined what you are looking for. Certain values, such as the system programmer-supplied values mentioned in http://publib.boulder.ibm.com/infocente ... temIPL.htm are external to the system and are not reflected in any data set on the system, although they are available for retrieval once the system IPL is complete. SYSn.IPLPARM (where n can vary from 0 to 9) is customized for each system and contains initial IPL parameters such as the master catalog name. SYS1.PARMLIB (which is a shortcut term for the dataset used by the system to load parameters -- the actual name will depend upon the site) is where many of the various system parameters are stored; there are well over 100 members in this data set and some of these members have dozens (or hundreds) of lines of parameter values.

Different control blocks have different parameters, but as has been pointed out already there are perfectly good programs available (MXI, SHOWZOS, IPLINFO are three of them) and material from the CBT has no cost -- so what you want to develop is already available at no cost to your site. Other than doing this as a learning exercise, there is no reason for you to proceed any further with your program. And if you do not have a deep understanding of the z/OS IPL process and the various control blocks of z/OS, you're going to have a very hard time doing what you want, anyway.

Asking for help with something like this on a beginner's forum isn't the best use of everyone's time, either.
Robert Sample
Global moderator
 
Posts: 3720
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times

Re: Get PARM values from data area

Postby Mohan_zOS » Fri May 03, 2013 7:36 pm

Hi Jaggz,

Yes, I am interested in the CBs and DAs of z/OS.
I am still learning and just took up this learning exercise to get familiar with z/OS Arch.

Hi Nevilh,

That's true, I have posted a query on a very vast area. I'll return back here after I do my analysis on few pointers that I found lately.
Here are some.. CVT>ECVT>ECVTSLCA for CEEPRMxx and CSVDYNEX for Exits Info Etc..

Hello Robert,

Indeed, I did not state my need clearly.. one of the problems of a newbie!
I agree, I am going to have a hard time before I come up with a decent utility, but I know learning is a never ending and painful process.
Anyways, thanks for the tips.

Thanks to you All,
Mohan
Mohan_zOS
 
Posts: 5
Joined: Sun Feb 24, 2013 9:12 pm
Has thanked: 0 time
Been thanked: 0 time


Return to System programming

 


  • Related topics
    Replies
    Views
    Last post