Volume need to make it go offline.

Help for IBM's record-oriented filesystem VSAM, ESDS, KSDS, RRDS, LDS and Storage management Subsystems
Bad Man
Posts: 96
Joined: Sun Apr 04, 2010 2:20 pm
Skillset: Mainframe Storage
Referer: Google

Volume need to make it go offline.

Postby Bad Man » Sun Apr 04, 2010 2:24 pm

Hi I have a volume in F-NRD status and I am trying to reformat it but it keeps asking for the device which is offile.
Can some one please let me know. I tried varying it offline again but to no use.

Robert Sample
Global moderator
Posts: 3720
Joined: Sat Dec 19, 2009 8:32 pm
Skillset: Systems programming, SAS, COBOL, CICS, JCL, SMS, VSAM, etc.
Referer: other forum
Location: Dubuque, Iowa, USA

Re: Volume need to make it go offline.

Postby Robert Sample » Sun Apr 04, 2010 6:29 pm

What command are you using to vary the volume offline?

Bad Man
Posts: 96
Joined: Sun Apr 04, 2010 2:20 pm
Skillset: Mainframe Storage
Referer: Google

Re: Volume need to make it go offline.

Postby Bad Man » Mon Apr 05, 2010 4:52 pm

vary ucbb,offline

Two weeeks back I gave on some other system \vary ucbb,offline,force and the devices went in to box yipessss I then gave \vary ucbb,online,uncond and the device came back...

Robert Sample
Global moderator
Posts: 3720
Joined: Sat Dec 19, 2009 8:32 pm
Skillset: Systems programming, SAS, COBOL, CICS, JCL, SMS, VSAM, etc.
Referer: other forum
Location: Dubuque, Iowa, USA

Re: Volume need to make it go offline.

Postby Robert Sample » Mon Apr 05, 2010 9:08 pm

If the volume is shared between LPAR's, you would have to issue vary ucbb,offline,all to get it offline to every LPAR.

Bad Man
Posts: 96
Joined: Sun Apr 04, 2010 2:20 pm
Skillset: Mainframe Storage
Referer: Google

Re: Volume need to make it go offline.

Postby Bad Man » Mon Apr 05, 2010 11:09 pm

It says force expected before all.........

Robert Sample
Global moderator
Posts: 3720
Joined: Sat Dec 19, 2009 8:32 pm
Skillset: Systems programming, SAS, COBOL, CICS, JCL, SMS, VSAM, etc.
Referer: other forum
Location: Dubuque, Iowa, USA

Re: Volume need to make it go offline.

Postby Robert Sample » Mon Apr 05, 2010 11:44 pm

So what happened when you put "force" before "all"?

Robert Sample
Global moderator
Posts: 3720
Joined: Sat Dec 19, 2009 8:32 pm
Skillset: Systems programming, SAS, COBOL, CICS, JCL, SMS, VSAM, etc.
Referer: other forum
Location: Dubuque, Iowa, USA

Re: Volume need to make it go offline.

Postby Robert Sample » Mon Apr 05, 2010 11:52 pm

And while I'm thinking about it, are you running JES2 or JES3? When using the VARY command, the difference is extremely important.

Bad Man
Posts: 96
Joined: Sun Apr 04, 2010 2:20 pm
Skillset: Mainframe Storage
Referer: Google

Re: Volume need to make it go offline.

Postby Bad Man » Mon Apr 05, 2010 11:54 pm

It is JES2 using RACF or ZEKE.

stefkrastev
Posts: 7
Joined: Thu Apr 08, 2010 6:50 pm
Skillset: Mainframe system programming and operating - ZOS, VSE, VSAM, CICS, VTAM, Assembler, Cobol
Referer: From Internet Google search and Mainfraim forum keywords

Re: Volume need to make it go offline.

Postby stefkrastev » Mon Apr 12, 2010 6:56 pm

Hello Bad man!
If after V ucbb,OFFLINE you are receiving IEF524I ucbb, VOLUME PRDxxx PENDING OFFLINE – you should issue d ios,config to see the name of your sys1.iodfxx – then go with HC for sys1.iodfxx – 1 (view) – 5 (I/O device) - /ucbb – 8 (view) – etc. until view the parameter OFFLINE YES or NO for this ucbb. The reason is here – if your ucbb is OFFLINE NO, it means that during IPL it is set always to ONLINE. Ask your IPL support to change this parameter to parameter OFFLINE YES and reIPL. Then you will have V ucbb,OFFLINE OK.
Hope this will help!

Bad Man
Posts: 96
Joined: Sun Apr 04, 2010 2:20 pm
Skillset: Mainframe Storage
Referer: Google

Re: Volume need to make it go offline.

Postby Bad Man » Sat Apr 17, 2010 9:29 pm

ohhhh Man...I had coded in MY jcl a DD statement ponitng to a VOLSER=XXXXXX and that was the problem got rid of the DD as t was not needed and the DASD was reformatted eventhough the volume was F-NRD on some Lpar's.

Also I tried hitting offline after going to each Lpar but the volume remained in F-NRD...


  • Similar Topics
    Replies
    Views
    Last post