View previous topic :: View next topic
|
Author |
Message |
Shaheen Shaik
New User
Joined: 05 May 2016 Posts: 13 Location: India
|
|
|
|
Can any one help me with allocating a PS file in mainframes? I got an error saying Invalid DSN type !! |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
What DSN type did you use? In fact, why did you not post the JCL you used? Or did you not use JCL? |
|
Back to top |
|
|
Shaheen Shaik
New User
Joined: 05 May 2016 Posts: 13 Location: India
|
|
|
|
I have not used the Jcl . I followed th basic path for allocating a ps file. And when allocating it I got Invalid DSN type message. |
|
Back to top |
|
|
steve-myers
Active Member
Joined: 30 Nov 2013 Posts: 917 Location: The Universe
|
|
|
|
- The only "file" in z/OS is the data on magnetic tape between the beginning of tape and a "file mark," or between two "file marks." Period. End of story.
- "PS" is a designator for a sequential data set. It is not correct in z/OS to call a sequential data set a PS data set. They are not called a PS data set in any standard z/OS documentation.
- I have been working with OS/360 and is successor operating systems for almost 50 years. I do not know what you mean by a "basic path" to allocate a sequential data set. When I started the only only way to allocate and populate a sequential data set was by using JCL and running a program specified by JCL. Now there are many ways to do this task. Which one did you try to use? We cannot help you without this information.
|
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Mainframe sites tend to customize a lot of the system to meet their requirements. It is possible that your invalid DSN type message came about because your site requires one and you did not specify it. Or, because your site has a default DSN type that did not match the data set characteristics that you used. Or, you could be misreading the message and the problem is actually the DSNTYPE parameter.
Mainframes have data sets -- the only files are on tape or in Unix System Services directories. You are completely wrong in saying you are "allocating a PS file" unless you are writing to tape or using Unix System Services.
Your entire issue needs to be addressed by your site support group,. Why did you not contact them first? |
|
Back to top |
|
|
RahulG31
Active User
Joined: 20 Dec 2014 Posts: 446 Location: USA
|
|
|
|
I believe you are going through ISPF 3.2 option to 'A'llocate a data set and then you are getting an 'Invalid DSN Type' error.
The error is self explanatory BUT you haven't shown the options being provided while trying to allocate the data set.
. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10872 Location: italy
|
|
|
|
why not ask Your colleagues to find out the standards used in Your organisation ? |
|
Back to top |
|
|
Rohit Umarjikar
Global Moderator
Joined: 21 Sep 2010 Posts: 3048 Location: NYC,USA
|
|
|
|
This is a very basic stuff and you will have to explore more on Beginner's forum.
I am sure TS has done something like this which He should have kept Blank.
(Data set name type)
Code: |
Menu RefList Utilities Help
------------------------------------------------------------------------------
SYST Allocate New Data Set Invalid DSN type
Command ===>
More: - +
Device type . . . . . (Generic unit or device address) **
Data class . . . . . . STANDARD (Blank for default data class)
Space units . . . . . CYLINDER (BLKS, TRKS, CYLS, KB, MB, BYTES
or RECORDS)
Average record unit (M, K, or U)
Primary quantity . . 1 (In above units)
Secondary quantity 10 (In above units)
Directory blocks . . 0 (Zero for sequential data set) *
Record format . . . . FB
Record length . . . . 4200
Block size . . . . . 25200
Data set name type PS (LIBRARY, HFS, PDS, LARGE, BASIC, *
Data set version . : EXTREQ, EXTPREF or blank)
Num of generations :
Extended Attributes (NO, OPT or blank)
Expiration date . . . (YY/MM/DD, YYYY/MM/DD
Enter "/" to select option YY.DDD, YYYY.DDD in Julian form |
|
|
Back to top |
|
|
Shaheen Shaik
New User
Joined: 05 May 2016 Posts: 13 Location: India
|
|
|
|
Thank you all! Yeah I have done what Rohit has mentioned. When I left blank at ds name type. I didnt get error. |
|
Back to top |
|
|
|