View previous topic :: View next topic
|
Author |
Message |
ojdiaz
New User
Joined: 19 Nov 2008 Posts: 98 Location: Spain
|
|
|
|
Hello. I usually work wiht sorts, cobol programs and DB2 in JCL, but rarely with support jobs. So I was asked to get from a bunch of files, the Record lenght, allocated prymary and secondary space and number of extends. I have the long (+2000) list of files and I won't check for each one the size with 3.4,I, so i was wondering if i can, somehow, do it in a Job and list the results
I know i can use Listcat IKJEFT01/LISTDS with a dataset in order to get this output:
Code: |
--RECFM-LRECL-BLKSIZE-DSORG
FB 1210 27830 PS
--VOLUMES--
MDES11
|
But, is there an utility to get the Space used by a file? I supose there is one, but I can't seem to find the right one
Thanks in advance and I'm sorry if this seems too basic, but well, I haven't worked with those requirements before.
Best Regards
Oliver |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
ISMF will give it to you all.
Where the function is located on your primary / secondary menus is site specific, so maybe a quick chat with your storage people will help |
|
Back to top |
|
|
ojdiaz
New User
Joined: 19 Nov 2008 Posts: 98 Location: Spain
|
|
|
|
Guess I'll do that. I was trying to get the info on my own first.
I'll try to look for info on ISMF commands, since i don't think i had used that before
Thanks a lot
Oliver |
|
Back to top |
|
|
ojdiaz
New User
Joined: 19 Nov 2008 Posts: 98 Location: Spain
|
|
|
|
Sorry for the double post. I just got the the ISMF access and it is restricted. As a developer, in this shop, i don't have access to it ... I'll guess I'll keep looking around. Any jobs suggestions would be appreciated |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
You can write tiny REXX with LISTDSI.
O. |
|
Back to top |
|
|
ojdiaz
New User
Joined: 19 Nov 2008 Posts: 98 Location: Spain
|
|
|
|
Sadly, Rexx is not an option for me. I don't know anything related with it |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
So I was asked to get from a bunch of files, the Record lenght, allocated prymary and secondary space and number of extends. |
Quote: |
I just got the the ISMF access and it is restricted. As a developer, in this shop, i don't have access to it |
If getting this info is something your management wants, they may be willing to give you temporary access or have someone who does have access generate a file containing the data (rather than a piece of paper). |
|
Back to top |
|
|
vasanthz
Global Moderator
Joined: 28 Aug 2007 Posts: 1742 Location: Tirupur, India
|
|
Back to top |
|
|
ojdiaz
New User
Joined: 19 Nov 2008 Posts: 98 Location: Spain
|
|
|
|
dick scherrer wrote: |
Hello,
Quote: |
So I was asked to get from a bunch of files, the Record lenght, allocated prymary and secondary space and number of extends. |
Quote: |
I just got the the ISMF access and it is restricted. As a developer, in this shop, i don't have access to it |
If getting this info is something your management wants, they may be willing to give you temporary access or have someone who does have access generate a file containing the data (rather than a piece of paper). |
I tried that but it wasn't good. We are Outsourcing consultants and we are not allowed those security allowances. The thing is that for a soon to come data migration, a space study is required and the management here is trying to do some estimations based on the info we have from the previous migration. We are migrating commercial offices on a monthly basis.
Anyways, thanks for the link vasanthz. I'll go there and take a look at it... |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
It would be worth to give a try to contact your site-support group - they must be having some SMF reports/tools already to provide what you are looking for. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
I do recall Frank doing some whizzo stuff with DCOLLECT records and DFSORT to do this task or something very similar.
Take a look at the DFSORT forum stickys and you will be sure to find it as I did yesterday. |
|
Back to top |
|
|
vasanthz
Global Moderator
Joined: 28 Aug 2007 Posts: 1742 Location: Tirupur, India
|
|
Back to top |
|
|
|