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
 

 

How to get the list of files

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: How to get the list of files
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: 785
Location: Chennai, India

PostPosted: Fri Feb 06, 2009 7:39 pm    Post subject:
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    Post subject:
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: 7908
Location: Bellevue, IA

PostPosted: Fri Feb 06, 2009 7:49 pm    Post subject:
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: 785
Location: Chennai, India

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

Please refer these links.
http://publib.boulder.ibm.com/infocenter/zos/v1r9/index.jsp?topic=/com.ibm.zos.r9.arcd000/dgt2u36006.htm
http://www.ibmmainframes.com/post-137464.html
http://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    Post subject:
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: 785
Location: Chennai, India

PostPosted: Fri Feb 06, 2009 8:52 pm    Post subject:
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: 8593
Location: Back in jolly old England

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

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

Senior Member


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

PostPosted: Sat Feb 07, 2009 12:35 pm    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Sat Feb 07, 2009 1:11 pm    Post subject:
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    Post subject: Reply to: How to get the list of files
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    Post subject:
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: 1703
Location: Australia

PostPosted: Tue Feb 10, 2009 12:14 pm    Post subject:
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    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Tue Feb 10, 2009 12:30 pm    Post subject:
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    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Tue Feb 10, 2009 12:36 pm    Post subject:
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    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Tue Feb 10, 2009 12:44 pm    Post subject:
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    Post subject:
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    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 High CPU consumption Job using IAM fi... aswinir JCL & VSAM 8 Thu Dec 01, 2016 8:28 pm
No new posts Match or compare two files in VB Format anatol DFSORT/ICETOOL 14 Thu Nov 03, 2016 7:41 pm
No new posts Cobol list of programs being called biswajit.dattagupta COBOL Programming 5 Tue Nov 01, 2016 2:10 am
This topic is locked: you cannot edit posts or make replies. How to use 2 input files in control c... Gunapala CN DFSORT/ICETOOL 23 Thu Oct 13, 2016 3:42 pm
No new posts Adding records from two files into on... shiitiizz SYNCSORT 4 Mon Sep 19, 2016 8:41 pm


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