IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Flash Copy IAM datasets


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Vinodh S

New User


Joined: 12 Apr 2012
Posts: 28
Location: LA, California

PostPosted: Sat Nov 03, 2012 5:04 pm
Reply with quote

Hi

I have used the ADRDSSU utility to flashcopy a VSAM file.
I would like to know if the same can be used to flash copy an IAM dataset.

Or is there is any other utility similar to ADRDSSU to flashcopy the IAM dataset.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Sat Nov 03, 2012 5:12 pm
Reply with quote

what about looking at the IAM documentation,
or better ask directly IAM support line ?
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Sun Nov 04, 2012 6:08 am
Reply with quote

Hello,

What happened when you tried it wih ADRDSSU?
Back to top
View user's profile Send private message
Vinodh S

New User


Joined: 12 Apr 2012
Posts: 28
Location: LA, California

PostPosted: Sun Nov 04, 2012 6:19 pm
Reply with quote

No Dick, I would be trying once i'm in office on Monday. Waiting for that.
I have also checked the IAM website. Got to know of tools like, FDRCOPY or FDRINSTANT.

Not sure if those products are also available in my system Got to check that.
icon_smile.gif

Will let you guys know once I tried.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Sun Nov 04, 2012 8:30 pm
Reply with quote

Hello,

FDR is a separate product from a different vendor. Some places have this and many do not.

ADRDSSU is on your system.

Good luck.
Back to top
View user's profile Send private message
Pete Wilson

Active Member


Joined: 31 Dec 2009
Posts: 582
Location: London

PostPosted: Mon Nov 05, 2012 9:07 pm
Reply with quote

You should be fine to a dataset level Flashcopy an IAM dataset. However, if you're COPYing it to a newname you'll need to do a DEFINE RECATALOG so it will pick up the new volumes it resides on
Back to top
View user's profile Send private message
Vinodh S

New User


Joined: 12 Apr 2012
Posts: 28
Location: LA, California

PostPosted: Mon Nov 05, 2012 10:28 pm
Reply with quote

Hi

I tried to flashcopy a IAM dataset and it worked perfectly. The existing IAM dataset got copied to a new IAM dataset.

Is there any possible way to check if the New dataset created is exactly same as the old one. I'm just worried that if there could be some records/ data missed out from the input file. I know this would not be possible, but this doubt seems to be there in my mind.

@Pete

I tried the Flashcopy with the RENAMEU option and it worked out fine.
I don't have an idea on the DEFINE RECATALOG option. Can you please let know why we need to be using this option.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Mon Nov 05, 2012 10:52 pm
Reply with quote

Hello,

Quote:
Is there any possible way to check if the New dataset created is exactly same as the old one.
Compare the files?
Back to top
View user's profile Send private message
Pete Wilson

Active Member


Joined: 31 Dec 2009
Posts: 582
Location: London

PostPosted: Tue Nov 06, 2012 1:42 am
Reply with quote

If you do a LISTCAT of the new named version of the file you will see the volsers in the IAM report. These should match up with what you see for the volsers you see when you view the dataset in a 3.4 list. If they don't match up (probably the same volsers as the source file) then you'll need to do a DEFINE RECATALOG to correct the IAM internal volser records. In later versions of IAM you can just specify the following to achieve this:
DEF NVSAM(NAME(nvsam.file.name) VOLUMES(*) DEVT(3390) RECATALOG)

In the older versions of IAM you had to code all the volsers in the correct order that they were allocated on the volumes for the new file. So check your manuals and the version you're on to see if this applies to you or not.
Back to top
View user's profile Send private message
Vinodh S

New User


Joined: 12 Apr 2012
Posts: 28
Location: LA, California

PostPosted: Fri Nov 09, 2012 10:42 pm
Reply with quote

sad News !!! icon_sad.gif

The Flashcopy of the IAM dataset dint work out well. Actually for an IAM dataset that I tried , it took around 15 minutes to get complete.

What actually happened is that the ADRDSSU utility used a normal IDCAMS for processing the same. The basic reason was that I found out today is that the volumes in my system did not support the Flashcopy. I got this info by giving the DEBUG(FRMSG(DTL)) option.


icon_sad.gif
Back to top
View user's profile Send private message
Vinodh S

New User


Joined: 12 Apr 2012
Posts: 28
Location: LA, California

PostPosted: Fri Nov 09, 2012 10:46 pm
Reply with quote

Also in my JESLOG, i got such a message.

"USER ID not authorised to use STGADMIN.ADR.COPY.FLASHCPY " something like this.

Just wanted to know if this could be any reason why the volume was not selected for Flashcopy processing. ??
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Nov 09, 2012 10:48 pm
Reply with quote

Hello,

What issued this message?
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Fri Nov 09, 2012 11:20 pm
Reply with quote

Quote:
"USER ID not authorised to use STGADMIN.ADR.COPY.FLASHCPY " something like this.


if You cannot even post properly a message You received running a job
most probably it would be worth meditating about a career shift to a less demanding profession icon_cool.gif

what happened when You searched the manuals or googled for STGADMIN.ADR.COPY.FLASHCPY

I just did it and the answer and the actions to undertake ware right there

for example....

here
publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/SEARCH?SEARCHREQUEST=+STGADMIN.ADR.COPY.FLASHCPY&Book=IEA2M191&DN=SA22-7631-18&DT=20090220212601&TYPE=FUZZY&RANK=RANK&SEARCHTOPIC=TOPIC&SEARCHTEXT=TEXT&SEARCHINDEX=INDEX&SHELF=EZ2ZBK0G.bks

or here
publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/SEARCH?SEARCHREQUEST=STGADMIN.ADR.COPY.FLASHCPY&Book=DGT2U271&DN=SC35-0423-11&DT=20090117165748&TYPE=FUZZY&RANK=RANK&SEARCHTOPIC=TOPIC&SEARCHTEXT=TEXT&SEARCHINDEX=INDEX&SHELF=EZ2ZBK0G.bks

or here
publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/SEARCH?SEARCHREQUEST=STGADMIN.ADR.COPY.FLASHCPY&Book=DGT2S272&DN=SC26-7402-12&DT=20090227163444&TYPE=FUZZY&RANK=RANK&SEARCHTOPIC=TOPIC&SEARCHTEXT=TEXT&SEARCHINDEX=INDEX&SHELF=EZ2ZBK0G.bks
Back to top
View user's profile Send private message
Pete Wilson

Active Member


Joined: 31 Dec 2009
Posts: 582
Location: London

PostPosted: Fri Nov 09, 2012 11:30 pm
Reply with quote

I was going to mention the fact that the DFDSS FASTREP(PREFERRED) which is the default means you must have a Flashcopy (FC) capable controller. Also if you copy a file from one controller to another rather than within a controller then FC won't work. In this case, or if you're not licenced for FC then DFDSS just resorts to a standard COPY. You obviously also don't have access the STGADMIN Facility Class RACF profile required to initiate an FC. So you have a couple of things to sort out, RACF access, and finding out what your DASD is licenced for in terms of FC, and the configuration, i.e. if any controllers have FC then there shouldn't be any storgrps spanning that controller and another without FC ideally. Talk to your Storage Admin experts.
Back to top
View user's profile Send private message
Vinodh S

New User


Joined: 12 Apr 2012
Posts: 28
Location: LA, California

PostPosted: Sat Nov 17, 2012 11:33 am
Reply with quote

Thanks everyone for your reply.

I have not yet got my access issues resolved. Meanwhile I learnt that my Application had used the EMCSNAP utility similar to ADRDSSU and they had stopped using it because it lead to high CPU Hikes.

I tried to find out if the utility will create such issues but couldnt get much info on that. Would ADRDSSU also create such issues ??
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Sat Nov 17, 2012 3:06 pm
Reply with quote

Hello,

Quote:
I tried to find out if the utility will create such issues but couldnt get much info on that.
Have you reported this to EMC Support? They would have the best information.

Quote:
Would ADRDSSU also create such issues
I wouldn't think so.

What kind(s) of compression might be involved? Typically high volume copy processes use more i/o and are not "cpu hogs".
Back to top
View user's profile Send private message
Pete Wilson

Active Member


Joined: 31 Dec 2009
Posts: 582
Location: London

PostPosted: Mon Nov 19, 2012 2:09 pm
Reply with quote

Sometimes Flashcopy can cause the ANTMAIN address space to hog a bit of CPU. You don't get anything for nothing I guess.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts VB to VB copy - Full length reached SYNCSORT 8
No new posts Need COBOL COPY Help in MVS Environment COBOL Programming 4
No new posts Issue after ISPF copy to Linklist Lib... TSO/ISPF 1
No new posts DB2 Table - Image copy unload IBM Tools 2
No new posts How to copy the -1 version of a membe... TSO/ISPF 4
Search our Forums:

Back to Top