Talk:Data set (IBM mainframe)
![]() | This article is rated C-class on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | |||||||||||||
|
![]() | Text and/or other creative content from this version of z/OS was copied or moved into Data set (IBM mainframe) with this edit on 2025-08-06. The former page's history now serves to provide attribution for that content in the latter page, and it must not be deleted as long as the latter page exists. |
How do you create a data set using an application program?
editHow to create a data set using Application program i.e. by using Cobol? — Preceding unsigned comment added by 59.95.2.248 (talk) 14:23, 29 May 2006 (UTC)
- In MVS, an application can dynamically allocate a dataset using DYNALLOC (SVC 99). The routine
BPXWDYN
is a front end to DYNALLOC; I know of no reason that you couldn't call it from COBOL. -- Shmuel (Seymour J.) Metz Username:Chatul (talk) 13:30, 7 August 2025 (UTC)SVC 99
Which dates back to the original TSO.[1] -- Unsigned comment added by Guy Harris- More precisely, OS/360 added SVC 99, but MVS changed the interface[a] to it. The Dynamic Allocation Interface Routine (IKJDAIR) remained with its original interface. -- Shmuel (Seymour J.) Metz Username:Chatul (talk) 12:43, 8 August 2025 (UTC)
- Normally thru JCL. DD statement says “DISP=(NEW,CATLG) and open it as OUTPUT. Peter Flass (talk) 21:46, 7 August 2025 (UTC)
- The OP was asking about doing it in the application. JCL does static allocations prior to running the application. -- Shmuel (Seymour J.) Metz Username:Chatul (talk) 22:47, 7 August 2025 (UTC)
Notes
References
IBM mainframe data sets are not obsolete
editIBM mainframes, file systems, and data sets (the subject of this article), are widely used at the present time, March 2012, and will likely continue to be used for the near future. The tone of this article needs to be revised accordingly. While these are old file structures, dating from the 1970's, they continue to be used throughout the U.S.A. and everywhere else in the world! --FeralOink (talk) 11:17, 19 March 2012 (UTC)
And the name data set (two words) is not archaic
editIt is used also in current IBM documentation. Rob G Weemhoff 07:26, 19 March 2013 (UTC) — Preceding unsigned comment added by Rob G Weemhoff (talk • contribs)