View previous topic :: View next topic
|
Author |
Message |
Swetalina
New User
Joined: 11 Nov 2008 Posts: 30 Location: Bangalore
|
|
|
|
Hi,
Can we change the record length of an existing file in mainframe? Like suppose the LRECL is 100, can we make it to 300? If yes, how? |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10886 Location: italy
|
|
|
|
by using an utility &SORT ( for example )
copy it to a new dataset with the required record lenght and a proper filling...
search the forums for examples
NO, it cannot be done in place |
|
Back to top |
|
|
Swetalina
New User
Joined: 11 Nov 2008 Posts: 30 Location: Bangalore
|
|
|
|
OK.That means we can't change LRECL directly. We need to use the copy and sort option. My doubt is solved..Thanks.. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
|
|
Hi,
Pardon my ignorance - what is resolved here.. . What does this
Quote: |
That means we can't change LRECL directly |
mean ? Were you thinking that the information shown under "Data Set Information" (when we use "I" or "S" to get the DSN info on 3.4) is editable or not.. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hi Anuj,
Quote: |
That means we can't change LRECL directly. We need to use the copy and sort option. My doubt is solved.. |
It all needs to be read together, not broken apart.
Swetalina confirmed understanding that lrecl of an existing file cannot be edited/changed. To accomplish an lrecl change, the file needs to be re-created (i.e. sort) |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
|
|
Hi Dick,
Seems "these stupid meetings" in office are still having their impact on me..
Sorry to bother you Swetalina.
-Ad |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Quote: |
Seems "these stupid meetings" in office are still having their impact on me.. |
Meetings - the curse of the technical class. . .
d |
|
Back to top |
|
|
srvk_2k2
New User
Joined: 07 May 2008 Posts: 36 Location: Chennai
|
|
|
|
why can't we use DSRESIZE command from ISPF? |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10886 Location: italy
|
|
|
|
probably because ISPF does not provide such command
just to be sure I didn' t skip some ISPF release
could You please post the link to the ispf manuals where the command is described?
thank You
anyway inferring from the name the most You might get from such a command
is to change the allocation parameters, a smarter version of the free unallocated space |
|
Back to top |
|
|
srvk_2k2
New User
Joined: 07 May 2008 Posts: 36 Location: Chennai
|
|
|
|
My ISPF version is 5.8 and i'm using this command often. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10886 Location: italy
|
|
|
|
looks like IBM search engine on the ISPF bookshelf disagrees
Quote: |
Search results for shelf: ISPZPM70 "z/OS V1R10.0 ISPF"
0 documents have matches for: DSRESIZE
|
|
|
Back to top |
|
|
Gnanas N
Active Member
Joined: 06 Sep 2007 Posts: 792 Location: Chennai, India
|
|
|
|
Hi,
Perhaps, DSRESIZE is in-house option/tool.
We have CHGALLOC to change the allocation parameters.
Code: |
Change or Allocate
Type the new value for the desired fields and press Enter.
Old dataset name: 'GNANAS.$FIRST.INFO'
New dataset name: 'GNANAS.$TEST.INFO'
Space units: T B. Blocks Record format: 6 1. F 5. V
T. Tracks 2. FB 6. VB
C. Cylinders 3. FBA 7. VBA
4. U 8. VBM
Primary quantity: 1
Secondary quantity: 15 Data blocking: N
Directory blocks: Blocking record length:
Block size: 32004
Record length: 32000
--Current Size--
Volume serial: DSS047 Allocated Used
Device type: 3390 # of TRACKS : 1 1
Organization: PS Directory blks:
Creation date: 05-30-2008 Extents: 1
Expiration date: 0 Members: |
|
|
Back to top |
|
|
srvk_2k2
New User
Joined: 07 May 2008 Posts: 36 Location: Chennai
|
|
|
|
It may be avilable as a system extra/special private standards..I'm not sure... |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10886 Location: italy
|
|
|
|
general consideration on
please post only things you are sure about
nobody should expect that a command invoked thru ISPF
is a standard ISPF command,
there are lots of addons to ISPF ( free or fee )
and not all of them are available to everybody,
so the best advice is to post commands available in the base IBM products
in order to avoid any useless back and forth of the type...
Quote: |
use this
i tried and i got abend s806
in what library is
it' s in "FOO.BAR"
I do not have, how do I get it
......
37 more useless messages |
P.S.
did You notice my signature, before posting I always search, TO BE SURE |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
My ISPF version is 5.8 and i'm using this command often. |
Yes, many site-specific tools are used often (which is why they were created/bought).
Many people who have not worked on multiple computers come to "know" that what they do is what everyone (even elsewhere) can do.
Many of the site-specific tools never mention that they are not part of the standard tso/ispf environment. They are invoked just as though they were "standard". |
|
Back to top |
|
|
|