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
 

 

How can i change the physical file attributes
Goto page 1, 2  Next
 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: How can i change the physical file attributes
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: 2150
Location: At my coffee table

PostPosted: Wed Sep 26, 2007 3:39 pm    Post subject:
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    Post subject:
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    Post subject: Reply to: for changing the phyical file format
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: 1439
Location: Bangalore,India

PostPosted: Thu Sep 27, 2007 12:46 pm    Post subject:
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    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10201
Location: italy

PostPosted: Thu Sep 27, 2007 12:57 pm    Post subject: Reply to: for changing the phyical file format
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

Senior Member


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

PostPosted: Thu Sep 27, 2007 2:34 pm    Post subject:
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: 1439
Location: Bangalore,India

PostPosted: Thu Sep 27, 2007 2:39 pm    Post subject:
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

Senior Member


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

PostPosted: Thu Sep 27, 2007 3:53 pm    Post subject:
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: 1439
Location: Bangalore,India

PostPosted: Thu Sep 27, 2007 4:26 pm    Post subject:
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

Senior Member


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

PostPosted: Thu Sep 27, 2007 6:29 pm    Post subject:
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

Site Director


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

PostPosted: Thu Sep 27, 2007 9:15 pm    Post subject:
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: 2150
Location: At my coffee table

PostPosted: Thu Sep 27, 2007 9:41 pm    Post subject:
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    Post subject: What attribute(s) do you want to change on the mainframe?
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10201
Location: italy

PostPosted: Fri Sep 28, 2007 10:42 am    Post subject: Re: What attribute(s) do you want to change on the mainframe
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

Senior Member


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

PostPosted: Fri Sep 28, 2007 2:07 pm    Post subject:
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

Site Director


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

PostPosted: Fri Sep 28, 2007 6:14 pm    Post subject: Reply to: How can i change the physical file attributes
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    Post subject:
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: 1439
Location: Bangalore,India

PostPosted: Wed Oct 03, 2007 10:10 am    Post subject:
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
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Goto page 1, 2  Next
Page 1 of 2

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
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
No new posts CICS Roll back partially - Need to re... dwijadas CICS 4 Wed Nov 16, 2016 4:30 pm
No new posts Problem in writing Output file vickey_dw COBOL Programming 5 Mon Nov 14, 2016 11:14 pm


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