View previous topic :: View next topic
|
Author |
Message |
yash2017
New User
Joined: 17 Sep 2007 Posts: 6 Location: delhi
|
|
|
|
hi
can any body tell me that how can i change the physical file attributes. |
|
Back to top |
|
|
CICS Guy
Senior Member
Joined: 18 Jul 2007 Posts: 2146 Location: At my coffee table
|
|
|
|
Usually you would not want to change the physical file attributes....
Which ones and why? |
|
Back to top |
|
|
Amit Yadav
New User
Joined: 20 Sep 2007 Posts: 9 Location: PUNE
|
|
|
|
r u want to change the organosation of file? |
|
Back to top |
|
|
yash2017
New User
Joined: 17 Sep 2007 Posts: 6 Location: delhi
|
|
|
|
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 |
|
|
murmohk1
Senior Member
Joined: 29 Jun 2006 Posts: 1436 Location: Bangalore,India
|
|
|
|
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 |
|
|
yash2017
New User
Joined: 17 Sep 2007 Posts: 6 Location: delhi
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10886 Location: italy
|
|
|
|
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 |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
|
|
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 |
|
|
murmohk1
Senior Member
Joined: 29 Jun 2006 Posts: 1436 Location: Bangalore,India
|
|
|
|
Anuj,
Quote: |
'MYCOPY' in ISPF; under MVS it should work |
Isn't this shop specific? |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
|
|
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..!! |
|
Back to top |
|
|
murmohk1
Senior Member
Joined: 29 Jun 2006 Posts: 1436 Location: Bangalore,India
|
|
|
|
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 |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
|
|
HI Murali,
Quote: |
Try to give solutions which is common across shop. |
In my previous mail I tried to say this only .
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
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 |
|
|
CICS Guy
Senior Member
Joined: 18 Jul 2007 Posts: 2146 Location: At my coffee table
|
|
|
|
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 |
|
|
yash2017
New User
Joined: 17 Sep 2007 Posts: 6 Location: delhi
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10886 Location: italy
|
|
|
|
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 |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
|
|
Hi CG,
Thanks for the suggestion, will take care in future. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
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 |
|
|
yash2017
New User
Joined: 17 Sep 2007 Posts: 6 Location: delhi
|
|
|
|
thanx for rpl i got the solution |
|
Back to top |
|
|
murmohk1
Senior Member
Joined: 29 Jun 2006 Posts: 1436 Location: Bangalore,India
|
|
|
|
Yash,
Quote: |
i got the solution |
May be you could share the solution with us for future reference? |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello,
Good to hear that you have what you need
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 |
|
|
yash2017
New User
Joined: 17 Sep 2007 Posts: 6 Location: delhi
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Thank you |
|
Back to top |
|
|
|