Page 1 of 1

Adding storage to Hercules emulated Z/os 1.10

PostPosted: Wed Sep 07, 2016 6:03 pm
by atlex
Hi Folks,

I'm very new to IBM Z/os and mainframes but I have a lot of unix experience, not that it is relevant.

This is my first post here.. I'm creating this under the emulator forum because this is an emulated setup, so please forgive me if this is the wrong location for this topic.

My scenario: I want to run a java7 app on Z/os 1.10 under hercules

What works: Z/os works, connectivity is fine over the tun interface.

The problem: The volumes I have don't have enough space for me to download and install the java7 pax.z

My approach so far :

I've used dasdinit to create a large volume set outside hercules...


$ dasdinit JAVA17.CCKD 3390-9 JAVA17
HHCDU044I Creating 3390 volume JAVA17: 10017 cyls, 15 trks/cyl, 56832 bytes/track
HHCDU041I 2519 cylinders successfully written to file JAVA17_1.CCKD
HHCDU041I 2519 cylinders successfully written to file JAVA17_2.CCKD
HHCDU041I 2519 cylinders successfully written to file JAVA17_3.CCKD
HHCDU041I 2460 cylinders successfully written to file JAVA17_4.CCKD
HHCDI001I DASD initialization successfully completed.
 


I've configured hercules to allocates them to OAB5 3390 device..


# special java7 vol
0AB5    3390 $(DASD)/SYS/JAVA17_1.CCKD
 


in ISPF / ICKDSF I see the volume, but I can't seem to issue an INSTALL against it


VOLUME LIST           VOLUME IN ERROR STATUS
Entries 1-1 of 1
Enter Line Operators below:                             Data Columns 3-8 of 43

LINE       VOLUME FREE       %     ALLOC      FRAG   LARGEST    FREE
OPERATOR   SERIAL SPACE      FREE  SPACE      INDEX  EXTENT     EXTENTS
---(1)----  -(2)-- ---(3)---  (4)-  ---(5)---  -(6)-  ---(7)---  --(8)--
?INSTALL    JAVA17 ?????????   ???  ?????????      0  ?????????  ???????
----------  ------ -----------  BOTTOM  OF  DATA  -----------  ------  ----
 


So, this isn't working.. The obvious question is what else should I try ?

Other approaches that also failed.. :

I've also tried copying an existing CCKD but it conflicted on volser and I can't work out how to change a volser from outside hercules.

I'd be grateful for any help or guidance here.

Re: Adding storage to Hercules emulated Z/os 1.10

PostPosted: Wed Sep 07, 2016 6:38 pm
by enrico-sorichetti
use ickdsf to initialize the newly created volume

Re: Adding storage to Hercules emulated Z/os 1.10

PostPosted: Wed Sep 07, 2016 7:52 pm
by atlex
enrico-sorichetti wrote:use ickdsf to initialize the newly created volume


Hi Enrico,

I've tried this.. via the ISMF ICKDSF panel

All the docs seem to state that INIT is the wrong command for 3390 devices, and that I should use the INSTALL command


Syntax
   INSTALL
Required Parameters
SYSNAME(sysxxx)|UNITADDRESS(ccuu)
Optional Parameters SETMODE(3380|3390) VERIFY(serial|*NONE*)|NOVERIFY
 


Panel  Utilities  Help
——————————————————————————————————————————————————————————————————————————————
ICKDSF EXECUTE STATEMENT ENTRY PANEL

Specify ICKDSF Execute Statement Information:

===> //*
===> //*
===> //*
===> INSTALL UNITADDRESS(0AB5)
===> //*
===> //*
===> //SYSPRINT  DD  SYSOUT=*







IKJ56250I JOB EXAMPLE(JOB03228) SUBMITTED
***


 


which also logged the job on the other terminal


- 11.12.50 JOB03228  $HASP373 EXAMPLE  STARTED - WLM INIT  - SRVCLASS
-  BATMDM   - SYS DUZA
- 11.12.50 JOB03228  IEF404I EXAMPLE - ENDED - TIME=11.12.50
 


But the device still shows up with the "??????" seen previously in my first post.

Re: Adding storage to Hercules emulated Z/os 1.10

PostPosted: Wed Sep 07, 2016 8:08 pm
by Robert Sample
Even if you use INSTALL, the manual Device Support Facilities (ICKDSF) User's Guide and Reference states you STILL have to use INIT:
Warning

After the install process is complete, you must initialize the volume for use in your operating environment. To initialize your volume, use the:

INIT command for MVS or VSE
CPVOLUME command for VM
AIXVOL command for AIX

Try something like
//INITVOLS EXEC PGM=ICKDSF  
//SYSPRINT DD   SYSOUT=*    
//SYSIN    DD   *            
  INIT UNIT(0AB5) NVFY VOLID(JAVA17) VTOC(000,01,059)

Re: Adding storage to Hercules emulated Z/os 1.10

PostPosted: Wed Sep 07, 2016 8:36 pm
by atlex
Robert Sample wrote:Even if you use INSTALL, the manual Device Support Facilities (ICKDSF) User's Guide and Reference states you STILL have to use INIT:
Warning

After the install process is complete, you must initialize the volume for use in your operating environment. To initialize your volume, use the:

INIT command for MVS or VSE
CPVOLUME command for VM
AIXVOL command for AIX

Try something like
//INITVOLS EXEC PGM=ICKDSF  
//SYSPRINT DD   SYSOUT=*    
//SYSIN    DD   *            
  INIT UNIT(0AB5) NVFY VOLID(JAVA17) VTOC(000,01,059)


OK. I've run this after the install command.

I get this back, in red.



12.05.20 JOB03235 $HASP165 IBMUSER0 ENDED AT N1  MAXCC=12 CN(INTERNAL)
 

Re: Adding storage to Hercules emulated Z/os 1.10

PostPosted: Wed Sep 07, 2016 8:53 pm
by enrico-sorichetti
the simple return code does not tell anything.
post the FULL ickdsf sysout

Re: Adding storage to Hercules emulated Z/os 1.10

PostPosted: Wed Sep 07, 2016 9:04 pm
by atlex
another thing I've noticed..

on this JAVA17.CCKD file I get the following error back if I dasdls it.

even if I recreate it, I get that error.

F4DSCB record not found

if I rerun the dasdls after ICKDSF INSTALL/ ICKDSF INIT, it still claims there is no record.

Re: Adding storage to Hercules emulated Z/os 1.10

PostPosted: Wed Sep 07, 2016 9:09 pm
by atlex
enrico-sorichetti wrote:the simple return code does not tell anything.
post the FULL ickdsf sysout


Hi Enrico,

Where can I find the sysout from the job (or any job, for that matter..) ?

Alex

Re: Adding storage to Hercules emulated Z/os 1.10

PostPosted: Wed Sep 07, 2016 9:36 pm
by enrico-sorichetti
SDSF