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
 

 

creating a physical sequential file in mainframes

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
Shaheen Shaik

New User


Joined: 05 May 2016
Posts: 7
Location: India

PostPosted: Wed Jun 29, 2016 3:46 pm    Post subject: creating a physical sequential file in mainframes
Reply with quote

Can any one help me with allocating a PS file in mainframes? I got an error saying Invalid DSN type !!
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7914
Location: Bellevue, IA

PostPosted: Wed Jun 29, 2016 4:01 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Shaheen Shaik

New User


Joined: 05 May 2016
Posts: 7
Location: India

PostPosted: Wed Jun 29, 2016 4:13 pm    Post subject:
Reply with quote

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
View user's profile Send private message
steve-myers

Active User


Joined: 30 Nov 2013
Posts: 462
Location: The Universe

PostPosted: Wed Jun 29, 2016 5:05 pm    Post subject:
Reply with quote

  1. 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.
  2. "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.
  3. 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
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7914
Location: Bellevue, IA

PostPosted: Wed Jun 29, 2016 6:19 pm    Post subject:
Reply with quote

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
View user's profile Send private message
RahulG31

Active User


Joined: 20 Dec 2014
Posts: 331
Location: USA

PostPosted: Wed Jun 29, 2016 7:53 pm    Post subject: Reply to: creating a physical sequential file in mainframes
Reply with quote

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
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Wed Jun 29, 2016 8:34 pm    Post subject: Reply to: creating a physical sequential file in mainframes
Reply with quote

why not ask Your colleagues to find out the standards used in Your organisation ?
Back to top
View user's profile Send private message
Rohit Umarjikar

Senior Member


Joined: 21 Sep 2010
Posts: 1610
Location: NY,USA

PostPosted: Wed Jun 29, 2016 9:52 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Shaheen Shaik

New User


Joined: 05 May 2016
Posts: 7
Location: India

PostPosted: Fri Jul 08, 2016 3:47 pm    Post subject:
Reply with quote

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
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 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