Adding storage to Hercules emulated Z/os 1.10



Discuss about all tools related to Mainframes but usable in a PC/Computer like Mainframe Simulators, Emulators, Abend Assist etc...

Adding storage to Hercules emulated Z/os 1.10

Postby atlex » Wed Sep 07, 2016 6:03 pm

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.
atlex
 
Posts: 5
Joined: Wed Sep 07, 2016 5:44 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Adding storage to Hercules emulated Z/os 1.10

 

Re: Adding storage to Hercules emulated Z/os 1.10

Postby enrico-sorichetti » Wed Sep 07, 2016 6:38 pm

use ickdsf to initialize the newly created volume
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: 2519
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 120 times

Re: Adding storage to Hercules emulated Z/os 1.10

Postby atlex » Wed Sep 07, 2016 7:52 pm

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.
atlex
 
Posts: 5
Joined: Wed Sep 07, 2016 5:44 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Adding storage to Hercules emulated Z/os 1.10

Postby Robert Sample » Wed Sep 07, 2016 8:08 pm

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)
Robert Sample
Global moderator
 
Posts: 3121
Joined: Sat Dec 19, 2009 8:32 pm
Location: Bellevue, Iowa
Has thanked: 1 time
Been thanked: 182 times

Re: Adding storage to Hercules emulated Z/os 1.10

Postby atlex » Wed Sep 07, 2016 8:36 pm

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)
 
atlex
 
Posts: 5
Joined: Wed Sep 07, 2016 5:44 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Adding storage to Hercules emulated Z/os 1.10

Postby enrico-sorichetti » Wed Sep 07, 2016 8:53 pm

the simple return code does not tell anything.
post the FULL ickdsf sysout
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: 2519
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 120 times

Re: Adding storage to Hercules emulated Z/os 1.10

Postby atlex » Wed Sep 07, 2016 9:04 pm

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.
atlex
 
Posts: 5
Joined: Wed Sep 07, 2016 5:44 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Adding storage to Hercules emulated Z/os 1.10

Postby atlex » Wed Sep 07, 2016 9:09 pm

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
atlex
 
Posts: 5
Joined: Wed Sep 07, 2016 5:44 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Adding storage to Hercules emulated Z/os 1.10

Postby enrico-sorichetti » Wed Sep 07, 2016 9:36 pm

SDSF
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: 2519
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 120 times


Return to Simulators & Emulators

 


  • Related topics
    Replies
    Views
    Last post