IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Can't we increase the file attributes like LRECL, Blocsize


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sree_sree_sree

New User


Joined: 30 Aug 2006
Posts: 13

PostPosted: Wed Nov 29, 2006 3:22 pm
Reply with quote

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
View user's profile Send private message
UmeySan

Active Member


Joined: 22 Aug 2006
Posts: 771
Location: Germany

PostPosted: Wed Nov 29, 2006 4:04 pm
Reply with quote

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
View user's profile Send private message
kanak

Moderator


Joined: 12 Mar 2005
Posts: 252
Location: India

PostPosted: Wed Nov 29, 2006 4:30 pm
Reply with quote

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
View user's profile Send private message
kanak

Moderator


Joined: 12 Mar 2005
Posts: 252
Location: India

PostPosted: Wed Nov 29, 2006 4:33 pm
Reply with quote

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
View user's profile Send private message
sree_sree_sree

New User


Joined: 30 Aug 2006
Posts: 13

PostPosted: Wed Nov 29, 2006 4:41 pm
Reply with quote

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
View user's profile Send private message
UmeySan

Active Member


Joined: 22 Aug 2006
Posts: 771
Location: Germany

PostPosted: Wed Nov 29, 2006 4:56 pm
Reply with quote

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
View user's profile Send private message
Arun Raj

Moderator


Joined: 17 Oct 2006
Posts: 2481
Location: @my desk

PostPosted: Wed Nov 29, 2006 5:15 pm
Reply with quote

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
View user's profile Send private message
UmeySan

Active Member


Joined: 22 Aug 2006
Posts: 771
Location: Germany

PostPosted: Wed Nov 29, 2006 6:14 pm
Reply with quote

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
View user's profile Send private message
Arun Raj

Moderator


Joined: 17 Oct 2006
Posts: 2481
Location: @my desk

PostPosted: Mon Dec 04, 2006 2:16 pm
Reply with quote

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
View user's profile Send private message
prasaar

New User


Joined: 11 Dec 2006
Posts: 21
Location: India

PostPosted: Mon Dec 11, 2006 9:33 pm
Reply with quote

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
View user's profile Send private message
prasaar

New User


Joined: 11 Dec 2006
Posts: 21
Location: India

PostPosted: Mon Dec 11, 2006 9:34 pm
Reply with quote

I'm sorry, it shoudl be a new name...for the DS in SYSUT2
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts WER247A SORTOUT HAS INCOMPATIBLE LRECL SYNCSORT 7
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
Search our Forums:

Back to Top