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

How can i change the physical file attributes


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

New User


Joined: 17 Sep 2007
Posts: 6
Location: delhi

PostPosted: Wed Sep 26, 2007 3:35 pm
Reply with quote

hi
can any body tell me that how can i change the physical file attributes.
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Wed Sep 26, 2007 3:39 pm
Reply with quote

Usually you would not want to change the physical file attributes....
Which ones and why?
Back to top
View user's profile Send private message
Amit Yadav

New User


Joined: 20 Sep 2007
Posts: 9
Location: PUNE

PostPosted: Thu Sep 27, 2007 9:57 am
Reply with quote

r u want to change the organosation of file?
Back to top
View user's profile Send private message
yash2017

New User


Joined: 17 Sep 2007
Posts: 6
Location: delhi

PostPosted: Thu Sep 27, 2007 12:42 pm
Reply with quote

actually we are migrating from AS/400 to Mainframe. and there is one command called CHGPFM(change physical file member). so i want know that how can i use any command correspond to this.
using above command in AS/400 we can chang the attributes off the physical file, so tell me what should i do in mainframe to do same.
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1436
Location: Bangalore,India

PostPosted: Thu Sep 27, 2007 12:46 pm
Reply with quote

Yash,
Quote:

using above command in AS/400 we can chang the attributes off the physical file, so tell me what should i do in mainframe to do same.

Im not sure about AS/400. But in Maifnrames, we do it in JCL.
Back to top
View user's profile Send private message
yash2017

New User


Joined: 17 Sep 2007
Posts: 6
Location: delhi

PostPosted: Thu Sep 27, 2007 12:51 pm
Reply with quote

Quote:
actually we are migrating from AS/400 to Mainframe. and there is one command called CHGPFM(change physical file member). so i want know that how can i use any command correspond to this.
using above command in AS/400 we can chang the attributes of the physical file, so tell me what should i do in mainframe to do same.?
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Thu Sep 27, 2007 12:57 pm
Reply with quote

In a MF environment MVS,z/OS,VSE,z/VSE,VM,z/VM
unless there are changes to the application architecture/logic
there is no need to change the physical attributes of a dataset
the only thing which periodically must be checked
is the space used/allocated to the dataset

regards

e.s
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Thu Sep 27, 2007 2:34 pm
Reply with quote

Hi,

If by physical attributes' you mean changing LRECL, Block Size etc. & if you just want to know, then use 'F33' or 'MYCOPY' in ISPF; under MVS it should work, about AS400 I'm not sure.
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1436
Location: Bangalore,India

PostPosted: Thu Sep 27, 2007 2:39 pm
Reply with quote

Anuj,

Quote:
'MYCOPY' in ISPF; under MVS it should work

Isn't this shop specific?
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Thu Sep 27, 2007 3:53 pm
Reply with quote

murmohk1 wrote:
Isn't this shop specific?

Dang..!!
I need to make a list of commands, which one is site specific & which one is not...huh..!! icon_mad.gif
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1436
Location: Bangalore,India

PostPosted: Thu Sep 27, 2007 4:26 pm
Reply with quote

Anuj,

Quote:
I need to make a list of commands, which one is site specific & which one is not...huh..!!

Try to give solutions which is common across shop.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Thu Sep 27, 2007 6:29 pm
Reply with quote

HI Murali,

Quote:
Try to give solutions which is common across shop.

In my previous mail I tried to say this only icon_smile.gif .

Well, my system is very rich in house REXX/CLIST utilities & this is my first shop, so somtimes, these commands look like as if they work all across the shops, till some one from forum not says "Not working for me".
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu Sep 27, 2007 9:15 pm
Reply with quote

Hello,

Quote:
can any body tell me that how can i change the physical file attributes.
What attribute(s) do you want to change on the mainframe?

File attributes are normally defined in your COBOL code as well as the JCL that creates the file. When reading a file, the JCL typically does not need to specify the attributes.

If you describe just what you want/need to do, someone will have suggestions.
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Thu Sep 27, 2007 9:41 pm
Reply with quote

Anuj D. wrote:
Well, my system is very rich in house REXX/CLIST utilities & this is my first shop, so somtimes, these commands look like as if they work all across the shops, till some one from forum not says "Not working for me".
Anuj,
What you might try is to before answering, flip over to the manuals link and pull up the manual where you think the function might be....If you find it then you can provide a link with your suggestion.....
Back to top
View user's profile Send private message
yash2017

New User


Joined: 17 Sep 2007
Posts: 6
Location: delhi

PostPosted: Fri Sep 28, 2007 9:35 am
Reply with quote

hi dick scherrer,

actually we are migrating from AS/400 to Mainframe. and there is one command called CHGPFM(change physical file member). so i want know that how can i use any command correspond to this.
using above command in AS/400 we can chang the attributes of the physical file, so tell me what should i do in mainframe to do same.?
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Fri Sep 28, 2007 10:42 am
Reply with quote

yash2017 wrote:
hi dick scherrer,

actually we are migrating from AS/400 to Mainframe. and there is one command called CHGPFM(change physical file member). so i want know that how can i use any command correspond to this.
using above command in AS/400 we can chang the attributes of the physical file, so tell me what should i do in mainframe to do same.?


Attribute is a generic term;
You have already been told that such action is not necessary on a mainframe operating system;

until You are more specific on the attributes there answer is:
NOTHING, YOU CANNOT DO IT

Converting to different operating system means also changing the habits
and understanding first of all the capabilities of the new environment
without trying to reproduce on the new system the features of the old one



regards

e.s
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Fri Sep 28, 2007 2:07 pm
Reply with quote

Hi CG,

Thanks for the suggestion, will take care in future.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Sep 28, 2007 6:14 pm
Reply with quote

Hello,

Quote:
hi dick scherrer,

actually we are migrating from AS/400 to Mainframe. and there is one command called CHGPFM(change physical file member). so i want know that how can i use any command correspond to this.
using above command in AS/400 we can chang the attributes of the physical file, so tell me what should i do in mainframe to do same.?


To repeat, if you explain what you need to do (on the mainframe) someone will be able to help. Most of the people here are not as/400 fluent, so while your explanation may tell an as/400 person everything they need to know, the same is not tru for us.

When you issue the CHGPFM command, what is the result on your system?

As has been mentioned, changing mainframe attributes (at least what we call attributes) is seldom donie - only when a file definition changes.
Back to top
View user's profile Send private message
yash2017

New User


Joined: 17 Sep 2007
Posts: 6
Location: delhi

PostPosted: Wed Oct 03, 2007 10:09 am
Reply with quote

thanx for rpl i got the solution
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1436
Location: Bangalore,India

PostPosted: Wed Oct 03, 2007 10:10 am
Reply with quote

Yash,

Quote:
i got the solution

May be you could share the solution with us for future reference? icon_biggrin.gif
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Wed Oct 03, 2007 10:25 am
Reply with quote

Hello,

Good to hear that you have what you need icon_smile.gif

Quote:
thanx for rpl i got the solution
If you post your solution, it may help someone else with a similar question later.
Back to top
View user's profile Send private message
yash2017

New User


Joined: 17 Sep 2007
Posts: 6
Location: delhi

PostPosted: Thu Oct 04, 2007 10:59 am
Reply with quote

ans for that ques is that there is no need to change the attributeas and if you want to change them then use DCB.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu Oct 04, 2007 11:43 am
Reply with quote

Thank you icon_smile.gif
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 Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts Access to non cataloged VSAM file JCL & VSAM 18
Search our Forums:

Back to Top