MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Accessing group of data sets - ADRDSSU utility

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF
View previous topic :: View next topic  
Author Message
kris_mf
Beginner


Joined: 07 Feb 2005
Posts: 8
Topics: 6
Location: Chennai

PostPosted: Wed Feb 09, 2005 4:22 am    Post subject: Accessing group of data sets - ADRDSSU utility Reply with quote

Hi,
Could you please help me in solving the following problem.

I have used the following JCL segemnt
//ADRDSSU JOB 00000,'CONCAT PS ',CLASS=Q,MSGCLASS=4,
// NOTIFY=&SYSUID,REGION=0M
//*
//STEP1 EXEC PGM=ADRDSSU
//SYSPRINT DD SYSOUT=A
//OUTDD1 DD DSN=TST.HSI.SAMPLE.TEST,DISP=(NEW,CATLG,DELETE),
// UNIT=SYSDA,SPACE=(CYL,(10,10),RLSE),
// DCB=(RECFM=FB,LRECL=237,BLKSIZE=27966)
//SYSIN DD *
COPY DS(INCLUDE(TST.HSI.RQ32251.AA00*.CMF)) OUTDDNAME(OUTDD1)
/*



My intention is to read all the data sets TST.HSI.RQ32251.AA00*.CMF and place the content in the new data set named OUTDD1.

The job completed successfully but the output file is empty. I am not able to figureout the problem.
Back to top
View user's profile Send private message
bablack
Beginner


Joined: 04 Dec 2002
Posts: 71
Topics: 0
Location: Little Falls, NJ

PostPosted: Wed Feb 09, 2005 4:31 pm    Post subject: Reply with quote

I think you are trying to take multiple datasets, concatinate them, and place the concatinated output in a new dataset, right?
ADRDSSU COPY will not do this. It copies individual datasets, if you copy 5 input datasets, you get 5 output datasets. OUTDDNAME is used to point to the disk volume where the output datasets will be placed, but the dataset on that DD statement will not be used. If you list the VTOC of that volume, you will find the datasets that were copied.

Since you want to select the input datasets from the catalog with a mask, I don't know of any easy way to do what you want. If you know all the dataset names, you could do this with IEBGENER, concatinating all of the input datasets on the SYSUT1 dataset and specifying your output dataset on SYSUT2
_________________
Bruce A. Black
Senior Software Developer
Innovation Data Processing
Back to top
View user's profile Send private message Send e-mail Visit poster's website
kris_mf
Beginner


Joined: 07 Feb 2005
Posts: 8
Topics: 6
Location: Chennai

PostPosted: Wed Feb 09, 2005 11:54 pm    Post subject: Reply with quote

Hi,
how can I copy TST.HSI.RQ32251.AA00*.CMF data sets into a single file using IEBGENER..? Is there any utility to do this..? The AA00* data sets has random values.

Kris
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group