Operating System - OpenVMS
cancel
Showing results for 
Search instead for 
Did you mean: 

vms dir/size can't display file's blocks number

SOLVED
Go to solution
edward wang_1
Frequent Advisor

vms dir/size can't display file's blocks number

Hi all
need help.
vms7.3-2, oracle file.
doing :
$ dir a1032.a;1/size

Directory DKB0:[HANZI]

A1032.A;1
*******
Total of 1 file, 10179168 block

can't display file's block number, just have ****.
how to resolve it? thanks first.

edward wang
4 REPLIES
Ken Robinson
Valued Contributor
Solution

Re: vms dir/size can't display file's blocks number

You have to specify the width of the size field if it's over 7 characters:

$ dir/width=size=10/size a1032.a

You could also ask for the size in Mb:

$ dir/size=un=by/width=size=10 a1032.a

Help is your friend here. See

$ help dir/width

Ken
edward wang_1
Frequent Advisor

Re: vms dir/size can't display file's blocks number

Hi ken

thank you so much
Wim Van den Wyngaert
Honored Contributor

Re: vms dir/size can't display file's blocks number

Or do a dir/fu.

Wim
Wim
Accullise
Frequent Advisor

Re: vms dir/size can't display file's blocks number

hi wang...
i just define as a symbol like this...
DS == "DIR/SIZE=ALL/DATE"

and then
you can type >> ds (dir_name)