Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

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

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Can't we increase the file attributes like LRECL, Blocsize
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: 743
Location: Germany

PostPosted: Wed Nov 29, 2006 4:04 pm    Post subject: Re: can't we increase the file attributes...
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    Post subject:
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    Post subject:
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    Post subject:
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: 743
Location: Germany

PostPosted: Wed Nov 29, 2006 4:56 pm    Post subject:
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: 2180
Location: @my desk

PostPosted: Wed Nov 29, 2006 5:15 pm    Post subject:
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: 743
Location: Germany

PostPosted: Wed Nov 29, 2006 6:14 pm    Post subject:
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: 2180
Location: @my desk

PostPosted: Mon Dec 04, 2006 2:16 pm    Post subject:
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    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 pm
No new posts Copy RECFM =VB TO FB file with RECL =... sahil41352 DFSORT/ICETOOL 3 Wed Dec 28, 2016 11:29 pm
No new posts Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm
No new posts File Aid to File Manager conversion murali3955 IBM Tools 4 Thu Nov 24, 2016 3:41 pm
No new posts How to convert the VBM file to VB or... Sulabh Agrawal JCL & VSAM 4 Fri Nov 18, 2016 1:04 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us