Page 1 of 1

DB2 v8 problem on DSNTINST

PostPosted: Sat Dec 10, 2011 1:34 am
by ainemorf
Hi, I'm a student with a great passion for the mainframe.
I'm trying to install a db2 V8 for study but I when I try to execute this command
EXEC 'DSN810.SDSNCLST(DSNTINST)'
I have this message
Panel 'DSNTIPA0' error

Can someone give me an hint to arrive to the menu of the installation?

Thanks a lot

Re: DB2 v8 problem on DSNTINST

PostPosted: Sat Dec 17, 2011 1:49 am
by alexm
ainemorf,

did you pre-allocate the ISPF datasets that ship with the DB2 installation prior to invoking DSNTINST?
If not, search the names of your (DSN810.)SDSNSPFM, SDSNSPFP, SDSNSPFS, SDSNSPFT datasets, and then execute ISPF LIBDEF services for ISPMLIB, ISPPLIB, ISPSLIB, ISPTLIB. Additionally, you may need to execute an ALTLIB ACTIVATE for application(CLIST) command for the (DSN810.)SDSNCLST library.
Once done, retry calling DSNTINST.
After leaving the panel system, don't forget to free allocated libraries using LIBDEF and ALTLIB DEACTIVATE commands.
For better handling (and reuse) you may write a REXX doing the job for you. If you do write a REXX allocating and freeing the datasets, you may want to call DSNTINST using an ISPF command similar to ISPEXEC SELECT CMD(...).

Links to more information regarding LIBDEF and ALTLIB commands: ISPF LIBDEF and SELECT services, TSO/E ALTLIB command.
If there should arise any question related to these ISPF and TSO commands, please change to the ISPF and REXX forums.
Good luck

Re: DB2 v8 problem on DSNTINST

PostPosted: Sat Dec 17, 2011 2:49 am
by ainemorf
Thanks a lot for yuor response.. In the next days I retry following your suggestion and I give you a feedback.

Re: DB2 v8 problem on DSNTINST

PostPosted: Sun Jan 08, 2012 6:40 am
by ainemorf
Sorry if I'm late...
Following your suggestion I creted a Rexx which is able to launch the Db2 installation Clist.
This is the structure of the Rexx

/* rexx */
address ISPEXEC "LIBDEF ISPMLIB dataset ID(DSN810.SDSNSPFM)"
address ISPEXEC "LIBDEF ISPPLIB dataset ID(DSN810.SDSNSPFP)"
address ISPEXEC "LIBDEF ISPSLIB dataset ID(DSN810.SDSNSPFS)"
address ISPEXEC "LIBDEF ISPTLIB dataset ID(DSN810.SDSNSPFT)"
address TSO "ALTLIB ACT APPL(CLIST) dataset(DSN810.SDSNCLST)"
address ISPEXEC "SELECT CMD(DSNTINST)"

And all work perfectly but now I have a small problem.
When I arrive to DSNTIPT panel I need to choose the name of the data set and in position 1-2-3 I specified

DSN810.NEW3.SDSNTEMP
DSN810.NEW3.SDSNSAMP
DSN810.NEW3.SDSNCLST

I preallocated al these three dataset whit the same option of

DSN810.NEW.SDSNTEMP
DSN810.NEW.SDSNSAMP
DSN810.NEW.SDSNCLST

I complete all the other installation panel and, at the end, I arrive to the creation of the necessary jobs for the installation but I encountered in this error

DATA SET DSN810.NEW3.SDSNSAMP NOT ALLOCATED, REQUEST CANCELED and I have some problem to understand the reason of this message (this data set exists and I have cataloged it before manually). Please can you give me an hint?
Thanks a lot

Re: DB2 v8 problem on DSNTINST

PostPosted: Sun Jan 08, 2012 10:17 am
by dick scherrer
Hello,

DATA SET DSN810.NEW3.SDSNSAMP NOT ALLOCATED, REQUEST CANCELED
Where/how is this dataset allocated in your process. . . :?

Possibly there i something i misunderstand.

Re: DB2 v8 problem on DSNTINST

PostPosted: Mon Jan 09, 2012 7:00 pm
by ainemorf
The name of this dataset is written by me in the fourth panel of installation clist.
I thought that was necessary have this dataset preallocated so, using the same specification of the original dataset, I preallocated this before to launch the clist.
The problem is that when I arrive to the end of the installation menu in the phase of the creation of installation job I obtain the error mentioned above. Do I need to alloc this dataset in the rexx which allocate all the library and launch the dsntinst clist?

Thanks

Re: DB2 v8 problem on DSNTINST

PostPosted: Mon Jan 09, 2012 11:43 pm
by dick scherrer
Hello,

Is this the first attempt to use the problem dataset in your process?

How did you verify the dataset was successfully allocated?

What might have de-allocated the dataset?

Due to the similarity of several of the dataset names, is there a possibility there is a typo somewhere?

Re: DB2 v8 problem on DSNTINST

PostPosted: Tue Jan 10, 2012 1:47 am
by ainemorf
Hi,
thanks all for your support.
I'll try to be more clear posting some steps of my configuration with the new parameters I used last time.

I have a volume (Z6SCO1), on this volume I defined a user catalog (CATALOG.Z6SCO1), the name of my master catalog is CATALOG.Z16.MASTER and I defined also an alias(DB2S) related to the catalog CATALOG.Z6SCO1.
The volume Z6SCO1 is online and I can use it without problems.

This is the rexx I used to launch the main panel of the DB2 installation (DSNTINST)

/* rexx */
address ISPEXEC "LIBDEF ISPMLIB dataset ID(DSN810.SDSNSPFM)"
address ISPEXEC "LIBDEF ISPPLIB dataset ID(DSN810.SDSNSPFP)"
address ISPEXEC "LIBDEF ISPSLIB dataset ID(DSN810.SDSNSPFS)"
address ISPEXEC "LIBDEF ISPTLIB dataset ID(DSN810.SDSNSPFT)"
address TSO "ALTLIB ACT APPL(CLIST) dataset(DSN810.SDSNCLST)"
address ISPEXEC "SELECT CMD(DSNTINST)"

I think to have problems during the allocation of the datasets show on panel DSNTIPT of the installation of DB2 (V8).
This is the structure of the panel

DSNTIPT INSTALL DB2 - DATA SET NAMES PANEL 1
===>

Data sets allocated by the installation CLIST for edited output:
* 1 TEMP CLIST LIBRARY ===> DB2S.NEW.SDSNTEMP
* 2 SAMPLE LIBRARY ===> DB2S.NEW.SDSNSAMP
Data sets allocated by the installation jobs:
* 3 CLIST LIBRARY ===> DB2S.NEW.SDSNCLST
4 APPLICATION DBRM ===> DB2S.DBRMLIB.DATA
5 APPLICATION LOAD ===> DB2S.RUNLIB.LOAD
6 DECLARATION LIBRARY ===> DB2S.SRCLIB.DATA
Data sets allocated by SMP/E and other methods:
7 LINK LIST LIBRARY ===> DB2S.SDSNLINK
8 LOAD LIBRARY ===> DB2S.SDSNLOAD
9 MACRO LIBRARY ===> DB2S.SDSNMACS
10 LOAD DISTRIBUTION ===> DB2S.ADSNLOAD
11 EXIT LIBRARY ===> DB2S.SDSNEXIT
12 DBRM LIBRARY ===> DB2S.SDSNDBRM
13 IRLM LOAD LIBRARY ===> DB2S.SDXRRESL

My goal will be to have the allocation of the datasets on volume Z6SCO1 but I have problem in this phase infact if I continue the installation the console show me the message
TSU00039 *14 IEF238D IBMUSER - REPLY DEVICE NAME OR 'CANCEL'. and if I cancel the answer I obtain
IKJ56883I DATA SET DB2S.NEW.SDSNTEMP NOT ALLOCATED, REQUEST CANCELED
and
DSNT550I 'DB2S.NEW.SDSNTEMP' IS UNAVAILABLE FOR CLIST OUTPUT BECAUSE IT CANNOT BE ALLOCATED OR OPENED FOR OUTPUT

I thought to have done all the necessary steps to have allocated all the datasets which begin with DB2S on volume Z6SCO1, but seeing the results, I think to have something wrong.
If you need other information ask me and please excuse me if I written wrong but I'm trying to understand this fantastic system.