Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

ADRDSSU Utility to RESTORE onto SMS-Managed Volumes

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7904
Location: Bellevue, IA

PostPosted: Sun Sep 01, 2013 8:17 pm    Post subject:
Reply with quote

Quote:
Can someone please advise? There is sufficient space on output volume TSON03 and reason code 4 does not lead me to self-diagnose it any further.
You may believe that there is sufficient space, but the system is telling you otherwise -- that is what the return code 04 means. Either the system is attempting to restore to a volume other than the one you have specified, or the volume does not have enough free space to put the data set on it. As long as you continue to believe what you want, instead of what the system is telling you, there is no way we can help you.
Back to top
View user's profile Send private message

Narender Sajnani

New User


Joined: 28 Jul 2012
Posts: 11
Location: India

PostPosted: Sun Sep 01, 2013 9:12 pm    Post subject:
Reply with quote

Hi Robert,

I am not denying this error and resorting to self-belief icon_smile.gif

However what you said is right - the system is attempting to restore to a different volume and not TSON03 that has been specified - can you help me understand how can I still override this?

Thanks for your suggestions!

IGD103I SMS ALLOCATED TO DDNAME INPUT
IEF237I 2016 ALLOCATED TO OUTPUT
IEF237I JES2 ALLOCATED TO SYSPRINT
IEF237I JES2 ALLOCATED TO SYSIN
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7904
Location: Bellevue, IA

PostPosted: Sun Sep 01, 2013 10:13 pm    Post subject:
Reply with quote

Your original post and your title are in conflict -- is volume TSON03 managed by SMS or not? If not, then you probably need NULLSTORCLASS as one of your restore options since it appears that the source was SMS-managed.
Back to top
View user's profile Send private message
Narender Sajnani

New User


Joined: 28 Jul 2012
Posts: 11
Location: India

PostPosted: Sun Sep 01, 2013 10:50 pm    Post subject:
Reply with quote

Yes, it is non-SMS managed. Sorry about the the title mismatch.

D SMS,VOL(TSON03)
CBR1910I DISPLAY rejected. OAM address space not started.
IGD005I COMMAND REJECTED 923
VOLUME TSON03 IS NOT AN SMS MANAGED DASD VOLUME

The source (SAJNA02.DE03.DUMP) is on SMS managed volume.

Adding the NSC keyword doesn't help -

//STEP01 EXEC PGM=ADRDSSU
//INPUT DD DSN=SAJNA02.DE03.DUMP,
// DISP=SHR
//OUTPUT DD DISP=OLD,VOL=SER=TSON03,UNIT=3390
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
RESTORE -
DATASET(INCLUDE(**) -
) -
INDDNAME(INPUT) -
OUTDDNAME(OUTPUT) -
RENAMEUNCONDITIONAL( -
(SAJNA02.DE03.V251.CETJXML,SAJNA02.DE03.V251.CETJXML.RSTR)-
) -
WRITECHECK -
CANCELERROR -
NULLSTORCLAS -
WAIT(2,2)


1PAGE 0001 5695-DF175 DFSMSDSS V2R01.0 DATA SET SERVICES 2013.244 10:20
- RESTORE -
DATASET(INCLUDE(**) -
) -
INDDNAME(INPUT) -
OUTDDNAME(OUTPUT) -
RENAMEUNCONDITIONAL( -
(SAJNA02.DE03.V251.CETJXML,SAJNA02.DE03.V251.CETJXML.RSTR)-
) -
WRITECHECK -
CANCELERROR -
WAIT(2,2)
ADR101I (R/I)-RI01 (01), TASKID 001 HAS BEEN ASSIGNED TO COMMAND 'RESTORE '
ADR109I (R/I)-RI01 (01), 2013.244 10:20:20 INITIAL SCAN OF USER CONTROL STATEMENTS COMPLETED
ADR016I (001)-PRIME(01), RACF LOGGING OPTION IN EFFECT FOR THIS TASK
0ADR006I (001)-STEND(01), 2013.244 10:20:20 EXECUTION BEGINS
0ADR916W (001)-OPNCL(01), FOR VOLUME TSON03 THE DEVICE SIZE IN THE VTOC, 000032760, IS LARGER THAN THE DEVICE SIZE FROM RDC,
000010017. THE DEVICE SIZE FROM RDC WILL BE USED
0ADR780I (001)-TDDS (01), THE INPUT DUMP DATA SET BEING PROCESSED IS IN LOGICAL DATA SET FORMAT AND WAS CREATED BY Z/OS DFSMSDSS
VERSION 2 RELEASE 1 MODIFICATION LEVEL 0 ON 2013.244 10:18:54
0ADR472E (001)-NEWDS(06), UNABLE TO SELECT A TARGET VOLUME FOR DATA SET SAJNA02.DE03.V251.CETJXML, 04
0ADR415W (001)-TDLOG(01), NO DATA SETS WERE COPIED, DUMPED, OR RESTORED FROM ANY VOLUME
0ADR480W (001)-TDLOG(01), THE FOLLOWING DATA SETS WERE NOT PROCESSED FROM THE LOGICALLY FORMATTED DUMP TAPE DUE TO ERRORS:

0 SAJNA02.DE03.V251.CETJXML
0ADR006I (001)-STEND(02), 2013.244 10:20:20 EXECUTION ENDS
0ADR013I (001)-CLTSK(01), 2013.244 10:20:20 TASK COMPLETED WITH RETURN CODE 0008
0ADR012I (SCH)-DSSU (01), 2013.244 10:20:20 DFSMSDSS PROCESSING COMPLETE. HIGHEST RETURN CODE IS 0008 FROM:
TASK 001
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7904
Location: Bellevue, IA

PostPosted: Sun Sep 01, 2013 11:51 pm    Post subject:
Reply with quote

The last output you posted and the original post output have the same date and time stamp. Hence, either you ran a job with NULLSTORCLAS but did not post that job's output, or you did NOT run a job with NULLSTORCLAS but want us to think you did. At best, you show incompetence in posting and at worst you may be lying to us.

I am not sure there is any reason for us to continue to try to help you since you are not paying attention to the messages the system gives you, your posts are contradictory and misleading at best, and the indications are your competence level could keep you from implementing our suggestions, any way.
Back to top
View user's profile Send private message
Narender Sajnani

New User


Joined: 28 Jul 2012
Posts: 11
Location: India

PostPosted: Mon Sep 02, 2013 12:01 am    Post subject:
Reply with quote

Hi Robert,

It's not about competence or intent - everyone sometimes have a rough day and am going through that icon_sad.gif.

Nevertheless, I had the SYSPRINT xdc'ed into a member but realized that I did not download it correctly and instead provided the earlier one only. Apologies for the same. Here is the updated SYSPRINT that I intended to send earlier.

1PAGE 0001 5695-DF175 DFSMSDSS V2R01.0 DATA SET SERVICES 2013.244 13:00
- RESTORE -
DATASET(INCLUDE(**) -
) -
INDDNAME(INPUT) -
OUTDDNAME(OUTPUT) -
RENAMEUNCONDITIONAL( -
(*******.DE03.V251.CETJXML,*******.DE03.V251.CETJXML.RSTR)-
) -
WRITECHECK -
CANCELERROR -
NULLSTORCLAS -
WAIT(2,2)
ADR101I (R/I)-RI01 (01), TASKID 001 HAS BEEN ASSIGNED TO COMMAND 'RESTORE '
ADR109I (R/I)-RI01 (01), 2013.244 13:00:03 INITIAL SCAN OF USER CONTROL STATEMENTS COMPLETED
ADR016I (001)-PRIME(01), RACF LOGGING OPTION IN EFFECT FOR THIS TASK
0ADR006I (001)-STEND(01), 2013.244 13:00:03 EXECUTION BEGINS
0ADR916W (001)-OPNCL(01), FOR VOLUME TSON03 THE DEVICE SIZE IN THE VTOC, 000032760, IS LARGER THAN THE DEVICE SIZE FROM RDC,
000010017. THE DEVICE SIZE FROM RDC WILL BE USED
0ADR780I (001)-TDDS (01), THE INPUT DUMP DATA SET BEING PROCESSED IS IN LOGICAL DATA SET FORMAT AND WAS CREATED BY Z/OS DFSMSDSS
VERSION 2 RELEASE 1 MODIFICATION LEVEL 0 ON 2013.244 10:18:54
0ADR472E (001)-NEWDS(06), UNABLE TO SELECT A TARGET VOLUME FOR DATA SET *******.DE03.V251.CETJXML, 04
0ADR415W (001)-TDLOG(01), NO DATA SETS WERE COPIED, DUMPED, OR RESTORED FROM ANY VOLUME
0ADR480W (001)-TDLOG(01), THE FOLLOWING DATA SETS WERE NOT PROCESSED FROM THE LOGICALLY FORMATTED DUMP TAPE DUE TO ERRORS:

0 SAJNA02.DE03.V251.CETJXML
0ADR006I (001)-STEND(02), 2013.244 13:00:03 EXECUTION ENDS
0ADR013I (001)-CLTSK(01), 2013.244 13:00:03 TASK COMPLETED WITH RETURN CODE 0008
0ADR012I (SCH)-DSSU (01), 2013.244 13:00:03 DFSMSDSS PROCESSING COMPLETE. HIGHEST RETURN CODE IS 0008 FROM:
TASK 001
Back to top
View user's profile Send private message
dick scherrer

Site Director


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

PostPosted: Mon Sep 02, 2013 6:19 am    Post subject:
Reply with quote

Hello,

Yup, those kind of days we can do without - but we all have them . . .

Suggest you step back and start over.

Carefully read/understand what Robert has provided.

Then make sure your jcl reflects the proper storage volume and NULLSTORCLAS.

I too will have my fingers crossed icon_wink.gif
Back to top
View user's profile Send private message
Narender Sajnani

New User


Joined: 28 Jul 2012
Posts: 11
Location: India

PostPosted: Mon Sep 02, 2013 5:05 pm    Post subject:
Reply with quote

Hi Robert, Dick -

Today, I tried using a different volume for OUTPUT DD (TSOA03 instead of TSON03) and it worked using with the NOSTORCLAS keyword for this non-SMS managed volume. Thanks for the suggestion.

I looked at the VTOC for TSON03 and it had sufficient free cylinders to restore the above dataset however it was failing - so now looking into this. Anyways thanks for the advice.

Volume . : TSON03 |
Command ===> |
|
Unit . . : 3390 |
|
Volume Data VTOC Data Free Space Tracks Cyls |
Tracks . : 491,400 Tracks . : 150 Size . . : 406,643 27,102 |
%Used . : 17 %Used . . : 1 Largest . : 367,710 24,514 |
Trks/Cyls: 15 Free DSCBS: 7,475 Free |
Extents . : 16 |
|
F1=Help F2=Split F3=Exit F9=Swap F12=Cancel |




Data Set Information
Command ===>
More: +
Data Set Name . . . : ****.DE03.V251.CETJXML

General Data Current Allocation
Management class . . : STANDARD Allocated tracks . : 2
Storage class . . . : DEMO Allocated extents . : 1
Volume serial . . . : TSOH03 Maximum dir. blocks : NOLIMIT
Device type . . . . : 3390
Data class . . . . . : DEFAULT
Organization . . . : PO Current Utilization
Record format . . . : VB Used pages . . . . : 24
Record length . . . : 512 % Utilized . . . . : 100
Block size . . . . : 6233 Number of members . : 6
1st extent tracks . : 2
Secondary tracks . : 2
Data set name type : LIBRARY Dates
Data set version . : 1 Creation date . . . : 2013/09/01
Referenced date . . : 2013/09/02
Expiration date . . : ***None***
Back to top
View user's profile Send private message
Pete Wilson

Active User


Joined: 31 Dec 2009
Posts: 437
Location: London

PostPosted: Thu Sep 05, 2013 2:41 pm    Post subject:
Reply with quote

Have a look at TSON03 from ISMF option 2.1 and see if SMS status is 'CONVERT'. The volume may have been initialised in SMS format but has not been defined to SMS, in which case you won't be able to allocate anything on it.
Back to top
View user's profile Send private message
Narender Sajnani

New User


Joined: 28 Jul 2012
Posts: 11
Location: India

PostPosted: Mon Sep 09, 2013 6:46 pm    Post subject:
Reply with quote

Hi Peter, thanks for the suggestion. The volume is not SMS managed

D SMS,VOL(TSON03)
CBR1910I DISPLAY rejected. OAM address space not started.
VOLUME TSON03 IS NOT AN SMS MANAGED DASD VOLUME
Back to top
View user's profile Send private message
Pete Wilson

Active User


Joined: 31 Dec 2009
Posts: 437
Location: London

PostPosted: Mon Sep 09, 2013 6:59 pm    Post subject:
Reply with quote

That display only shows you if the volume is defined in the SMS SCDS or active configuration or not.

Just because it's not in the active configuration doesn't mean that it isn't 'initialised' (via ICKDSF) in SMS format, but not defined in the SMS SCDS. In that case you can't allocate on the volume. Look at the volume in ISMF;2.1 and see if it shows CONVERT status.
Back to top
View user's profile Send private message
Narender Sajnani

New User


Joined: 28 Jul 2012
Posts: 11
Location: India

PostPosted: Mon Sep 09, 2013 7:10 pm    Post subject:
Reply with quote

It indicates that LIST HAS NO ENTRIES when specifying VOLSER as TSON03 - so could it be that it isn't initialized in the SMS format. I shall check ICKDSF documentation to see how volumes can be defined, otherwise.

Panel Defaults Utilities Scroll Help
------------------------------------------------------------------------------
VOLUME SELECTION ENTRY PANEL LIST HAS NO ENTRIES
Command ===>

Select Source to Generate Volume List . . 2 (1 - Saved list, 2 - New list)
1 Generate from a Saved List Query Name To
List Name . . Save or Retrieve
2 Generate a New List from Criteria Below
Specify Source of the New List . . 1 (1 - Physical, 2 - SMS)
Optionally Specify One or More:
Enter "/" to select option Generate Exclusive list
Type of Volume List . . . 1 (1-Online,2-Not Online,3-Either)
Volume Serial Number . . TSON03 (fully or partially specified)
Device Type . . . . . . . (fully or partially specified)
Device Number . . . . . . (fully specified)
To Device Number . . . (for range of devices)
Acquire Physical Data . . Y (Y or N)
Acquire Space Data . . . Y (Y or N)
Storage Group Name . . . * (fully or partially specified)
CDS Name . . . . . . . 'ACTIVE'
(fully specified or 'Active')
Back to top
View user's profile Send private message
Pete Wilson

Active User


Joined: 31 Dec 2009
Posts: 437
Location: London

PostPosted: Fri Sep 13, 2013 6:01 pm    Post subject:
Reply with quote

Try it this way

Select Source to Generate Volume List . . 2 (1 - Saved list, 2 - New list)
1 Generate from a Saved List Query Name To
List Name . . Save or Retrieve
2 Generate a New List from Criteria Below
Specify Source of the New List . . 1 (1 - Physical, 2 - SMS)
Optionally Specify One or More:
Enter "/" to select option Generate Exclusive list
Type of Volume List . . . 1 (1-Online,2-Not Online,3-Either)
Volume Serial Number . . TSON03 (fully or partially specified)
Device Type . . . . . . . (fully or partially specified)
Device Number . . . . . . (fully specified)
To Device Number . . . (for range of devices)
Acquire Physical Data . . Y (Y or N)
Acquire Space Data . . . Y (Y or N)
Storage Group Name . . . (fully or partially specified)
CDS Name . . . . . . .
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Error during restore rename archanamuthukrishnan All Other Mainframe Topics 2 Fri Oct 14, 2016 3:30 pm
No new posts Best IMS DB Unload Utility jjabez10 IMS DB/DC 12 Thu Sep 22, 2016 11:15 pm
No new posts Any docs / links for isub- cobol comp... SRICOBSAS COBOL Programming 4 Fri Aug 26, 2016 2:35 pm
No new posts Comparex utility to Syncsort conversion mistah kurtz SYNCSORT 11 Fri Jul 22, 2016 1:53 pm
No new posts Reading selected volumes of a multi-v... RickBig JCL & VSAM 6 Wed Jul 13, 2016 7:26 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us