View previous topic :: View next topic
|
Author |
Message |
sree_sree_sree
New User
Joined: 30 Aug 2006 Posts: 13
|
|
|
|
Hi,
Can we increase the File atributes (LRECL, Blocsize.....etc...) of existing file..
Please dont say like Copy that existing file to another file and delete the existing somt thing like... Imagine this is production requirement....
So I cant delete the production file and I cant create new again as i dont have prodction access, I have only read access....
Thanks in Advance...
Regards.
Sree..... |
|
Back to top |
|
|
UmeySan
Active Member
Joined: 22 Aug 2006 Posts: 771 Location: Germany
|
|
|
|
Hi !
No, you can't do this.
1.) You can't alter interacticly the Lrecl of a cataloged Flatfile.
2.) Only Read Access, then if it where possible (but it is not possible)
RACF would not allow you to alter a dataset.
Regards, UmeySan |
|
Back to top |
|
|
kanak
Moderator
Joined: 12 Mar 2005 Posts: 252 Location: India
|
|
|
|
i think in my shop it's alowwed where u can change the file attribute...there is option named as TSO PDS -> O(Option) -> FIX --><Change the attribute section..just see if that si allowed in ur shop... |
|
Back to top |
|
|
kanak
Moderator
Joined: 12 Mar 2005 Posts: 252 Location: India
|
|
|
|
just an addition
these are the allowed attribute changes parameter
Code: |
EXPANDDIR(Addblks) / RESET(Totblks) /*RESET
FREEDIR(Numblks) / ADDTRK(trks) / ADDCYL(cyls)
RELEASE / RELEXTENT / RELSAVE(trks) / MAXSPACE
DCB CHECK/NOCHECK
ASM / CLIST / CNTL / LOAD / OBJECT
OPTCD(W/WC/WCZ/C/CZ/Z) /*NOOPTCD
RECFM(F/FB/FT/FBT/FA/FBA/FTA/FBTA/FM/FBM/FTM/FBTM/
V/VB/VT/VBT/VA/VBA/VTA/VBTA/VM/VBM/VTM/VBTM/
U/UT/UA/UM/UTA/UTM)
LRECL(L1)
BLKSIZE(L2) |
let mw know if this helps you any way... |
|
Back to top |
|
|
sree_sree_sree
New User
Joined: 30 Aug 2006 Posts: 13
|
|
|
|
Hi,
I dont have the above TSO PDS option in my shop........
KK, Please let me know what is the above code..
Where can i use this code... I did not understand exactly where can i use that code...
Thanks & Regards
Sree |
|
Back to top |
|
|
UmeySan
Active Member
Joined: 22 Aug 2006 Posts: 771 Location: Germany
|
|
|
|
Hi !
I think kanak is talkink about PDSFAST, it's an Enhancement Produkt for
with TSO surface. An other one is FILEAID. They must be installed in your environment.
But as I mentioned, you said, you only have read access. And if the systemprogrammer had done a good job, then anyway RACF would not allow you to do what you want.
Regards, UmeySan |
|
Back to top |
|
|
Arun Raj
Moderator
Joined: 17 Oct 2006 Posts: 2481 Location: @my desk
|
|
|
|
Hi Umeysan
Is it possible to alter the file attribute using FILEAID.It is installed in my environment.Please let me know abt this
Thanks
Arun |
|
Back to top |
|
|
UmeySan
Active Member
Joined: 22 Aug 2006 Posts: 771 Location: Germany
|
|
|
|
Hi !
Best is to read in the FileAid online tutorial. or have a look at Bookmanager.
And once more:
But as I mentioned, you said, you only have read access. And if the systemprogrammer had done a good job, then anyway RACF would not allow you to do what you want.
Regards, UmeySan |
|
Back to top |
|
|
Arun Raj
Moderator
Joined: 17 Oct 2006 Posts: 2481 Location: @my desk
|
|
|
|
Hi Umeysan
In file-aid I am not seeing any option to change file attributes.Could you plz guide me on this
Thanks
Arun |
|
Back to top |
|
|
prasaar
New User
Joined: 11 Dec 2006 Posts: 21 Location: India
|
|
|
|
Hi try using this Utility..It works for me to change the FORMAT from VBA to FB.
//PRINT02 EXEC PGM=IEBPTPCH
//SYSPRINT DD SYSOUT=*
//SYSUT1 DD DSN=DSNNAME,DISP=SHR
//SYSUT2 DD DSN=DSNNAME(same as SYSUT1),DISP=(,CATLG),
// UNIT=EXPL,SPACE=(CYL,(1,1),RLSE),
// DCB=(RECFM=FB,LRECL=133,BLKSIZE=27930)
//SYSIN DD *
Rgds,
Arun Prasad |
|
Back to top |
|
|
prasaar
New User
Joined: 11 Dec 2006 Posts: 21 Location: India
|
|
|
|
I'm sorry, it shoudl be a new name...for the DS in SYSUT2 |
|
Back to top |
|
|
|