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

How to get the list of files


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

New User


Joined: 12 Nov 2008
Posts: 22
Location: india

PostPosted: Fri Feb 06, 2009 7:33 pm
Reply with quote

Is there is any utility for finding the list of migrated files by giving the high level qualifier?
Back to top
View user's profile Send private message
Gnanas N

Active Member


Joined: 06 Sep 2007
Posts: 792
Location: Chennai, India

PostPosted: Fri Feb 06, 2009 7:39 pm
Reply with quote

HLIST
Back to top
View user's profile Send private message
saroragu

New User


Joined: 12 Nov 2008
Posts: 22
Location: india

PostPosted: Fri Feb 06, 2009 7:46 pm
Reply with quote

Thank a lot Gnanas...
If you dont mind could you please give some examples. It will be more helpfull for me
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Fri Feb 06, 2009 7:49 pm
Reply with quote

Code:
HELP HLIST
on TSO gives you everything you need to know.
Back to top
View user's profile Send private message
Gnanas N

Active Member


Joined: 06 Sep 2007
Posts: 792
Location: Chennai, India

PostPosted: Fri Feb 06, 2009 7:59 pm
Reply with quote

Please refer these links.
publib.boulder.ibm.com/infocenter/zos/v1r9/index.jsp?topic=/com.ibm.zos.r9.arcd000/dgt2u36006.htm
www.ibmmainframes.com/post-137464.html
www.lascon.co.uk/d015401.htm
Back to top
View user's profile Send private message
saroragu

New User


Joined: 12 Nov 2008
Posts: 22
Location: india

PostPosted: Fri Feb 06, 2009 8:41 pm
Reply with quote

//ALLOCATE EXEC PGM=IEFBR14
//ALLOCATE DD DSN=H2567AM.OUTFILE,
// DISP=(,CATLG,DELETE),
// UNIT=(SYSDA,3),
// SPACE=(TRK,(500,150),RLSE),
// DCB=(RECFM=FBA,LRECL=121)
//*
//******************************************************************
//*
//HLIST EXEC PGM=IKJEFT01,DYNAMNBR=30
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD *
HLIST LEVEL('H2567AM') MIGRATIONVOLUME OUTDATASET('H2567AM.OUTFILE')
hi gnanas i used the above jcl its giving some list but it is not understandable[/img]
Back to top
View user's profile Send private message
Gnanas N

Active Member


Joined: 06 Sep 2007
Posts: 792
Location: Chennai, India

PostPosted: Fri Feb 06, 2009 8:52 pm
Reply with quote

Please post the results what you didn't understand so that someone here would help you.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Sat Feb 07, 2009 4:46 am
Reply with quote

Have you read the explanations given in the manuals ?
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Sat Feb 07, 2009 12:35 pm
Reply with quote

Hi,

What part of the output is not understandable? Saying this
Quote:
its giving some list but it is not understandable
actually gives us nothing to work on..
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Sat Feb 07, 2009 1:11 pm
Reply with quote

Take a look at THIS thread.
Back to top
View user's profile Send private message
saroragu

New User


Joined: 12 Nov 2008
Posts: 22
Location: india

PostPosted: Mon Feb 09, 2009 9:29 am
Reply with quote

Sorry for delay to answer I got output like this
Code:
- DFSMSHSM CONTROL DATASET - MIGRATE VOLUME-MCDS--- LISTING ----- AT 10:00:28 ON
                                                                               
VOLSER  DEVICE  VOLUME  THRESH  FRAG HOSTID AUTO-   AUTO SDSP MIN MIGRATED     
         TYPE    TYPE  HI--LOW  INDX MIG--BACK-DUMP RECL ELIG AGE DS-----TRKS   
                                                                               
MIGN0A   3390   LEV 1   001 *** .393 **** **** A     ***  NO  *** 00000  000000
MIGN0B   3390   LEV 1   001 *** .368 **** **** A     ***  NO  *** 00000  000000
MIGN0C   3390   LEV 1   001 *** .351 **** **** A     ***  NO  *** 00000  000000
MIGN0D   3390   LEV 1   001 *** .609 **** **** A     ***  NO  *** 00000  000000
MIGN0E   3390   LEV 1   001 *** .656 **** **** A     ***  NO  *** 00000  000000
MIGN0F   3390   LEV 1   001 *** .681 **** **** A     ***  NO  *** 00000  000000
MIGN0G   3390   LEV 1   001 *** .356 **** **** A     ***  NO  *** 00000  000000
MIGN0H   3390   LEV 1   001 *** .493 **** **** A     ***  NO  *** 00000  000000
MIGN0I   3390   LEV 1   001 *** .372 **** **** A     ***  NO  *** 00000  000000
MIGN0J   3390   LEV 1   001 *** .327 **** **** A     ***  NO  *** 00000  000000
MIGN0K   3390   LEV 1   001 *** .319 **** **** A     ***  NO  *** 00000  000000
MIGN0L   3390   LEV 1   001 *** .307 **** **** A     ***  NO  *** 00000  000000
MIGN0M   3390   LEV 1   001 *** .381 **** **** A     ***  NO  *** 00000  000000
Back to top
View user's profile Send private message
saroragu

New User


Joined: 12 Nov 2008
Posts: 22
Location: india

PostPosted: Tue Feb 10, 2009 12:03 pm
Reply with quote

Is there is any possiblity of getting the dataset name instead of VOLSER detail?
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1702
Location: Australia

PostPosted: Tue Feb 10, 2009 12:14 pm
Reply with quote

Hi,

try this

Code:
HLIST LEVEL(H2567AM)   MCDS ODS('H2567AM.OUTFILE')


Gerry
Back to top
View user's profile Send private message
saroragu

New User


Joined: 12 Nov 2008
Posts: 22
Location: india

PostPosted: Tue Feb 10, 2009 12:22 pm
Reply with quote

Im getting the same...
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Tue Feb 10, 2009 12:30 pm
Reply with quote

Are you sure that the new data is not being appended to the existing data ?
Back to top
View user's profile Send private message
saroragu

New User


Joined: 12 Nov 2008
Posts: 22
Location: india

PostPosted: Tue Feb 10, 2009 12:32 pm
Reply with quote

ya im sure because I used a fresh dataset....
Code:

                                                                               
VOLSER  DEVICE  VOLUME  THRESH  FRAG HOSTID AUTO-   AUTO SDSP MIN MIGRATED     
         TYPE    TYPE  HI--LOW  INDX MIG--BACK-DUMP RECL ELIG AGE DS-----TRKS 
                                                                               
MIGN0A   3390   LEV 1   001 *** .346 **** **** A     ***  NO  *** 00000  000000
MIGN0B   3390   LEV 1   001 *** .327 **** **** A     ***  NO  *** 00000  000000
MIGN0C   3390   LEV 1   001 *** .485 **** **** A     ***  NO  *** 00000  000000
MIGN0D   3390   LEV 1   001 *** .918 **** **** A     ***  NO  *** 00000  000000
MIGN0E   3390   LEV 1   001 *** .917 **** **** A     ***  NO  *** 00000  000000
MIGN0F   3390   LEV 1   001 *** 1.00 **** **** A     ***  NO  *** 00000  000000
MIGN0G   3390   LEV 1   001 *** .730 **** **** A     ***  NO  *** 00000  000000
MIGN0H   3390   LEV 1   001 *** .824 **** **** A     ***  NO  *** 00000  000000
MIGN0I   3390   LEV 1   001 *** .506 **** **** A     ***  NO  *** 00000  000000
MIGN0J   3390   LEV 1   001 *** .602 **** **** A     ***  NO  *** 00000  000000
MIGN0K   3390   LEV 1   001 *** .231 **** **** A     ***  NO  *** 00000  000000
MIGN0L   3390   LEV 1   001 *** .314 **** **** A     ***  NO  *** 00000  000000
MIGN0M   3390   LEV 1   001 *** .366 **** **** A     ***  NO  *** 00000  000000
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Tue Feb 10, 2009 12:36 pm
Reply with quote

Show the actual HLIST statement that you are using
Back to top
View user's profile Send private message
saroragu

New User


Joined: 12 Nov 2008
Posts: 22
Location: india

PostPosted: Tue Feb 10, 2009 12:39 pm
Reply with quote

Code:

//HLIST EXEC PGM=IKJEFT01,DYNAMNBR=30             
//SYSTSPRT DD SYSOUT=*                             
//SYSTSIN DD *                                     
HLIST LEVEL(H2567AM)   MCDS ODS('H2567AM.TEST')   
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Tue Feb 10, 2009 12:44 pm
Reply with quote

It works perfectly well for me. I can only suggest that you speak with your storage people as there may be some wierd internal exits / security restrictions implemented at your site.
Back to top
View user's profile Send private message
saroragu

New User


Joined: 12 Nov 2008
Posts: 22
Location: india

PostPosted: Tue Feb 10, 2009 1:16 pm
Reply with quote

Thanks for sugessting this Ill check with the storage people..
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 Write line by line from two files DFSORT/ICETOOL 7
No new posts Compare only first records of the fil... SYNCSORT 7
No new posts How to create a list of SAR jobs with... CA Products 3
No new posts Merge two VSAM KSDS files into third ... JCL & VSAM 6
No new posts Joinkeys - 5 output files DFSORT/ICETOOL 7
Search our Forums:

Back to Top