GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

GeekInterview.com  >  Interview Questions  >  Mainframe  >  JCL
Go To First  |  Previous Question  |  Next Question 
 JCL  |  Question 123 of 126    Print  
how can we create a PDS file using jcl
can anyone help we how to create a pds file using jcl


  
Total Answers and Comments: 2 Last Update: August 18, 2008     Asked by: Gowrikalepalli 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
August 02, 2008 12:30:29   #1  
vijay01anand Member Since: August 2008   Contribution: 1    

RE: how can we create a PDS file using jcl
//stepname DD DSN =Dataset name,
//                      DISP=(NEW,CATLG,DELETE),
//                      SPACE =(TRKS,(20,20),RLSE),
//                      DCB=(RECFM=FB,LRECL=80,BLKSIZE=0), 

 
Is this answer useful? Yes | NoAnswer is useful 0   Answer is not useful 1Overall Rating: -1    
August 17, 2008 04:14:20   #2  
arun442 Member Since: August 2008   Contribution: 3    

RE: how can we create a PDS file using jcl

PDS is also known as folder, in disp parameter

disp=(cyl,(10,10,10),rlse)

first 10 =primary memory

second 10= secondary memory 

third 10 =memory used to make pds.

if this 10 or any value is not present then a ps will be formed instead of pds


 
Is this answer useful? Yes | No

 Related Questions

The DD statement links the external dataset name (DSN) to the DDNAME coded within the executing program. It links the file names within the program code to the file names know to the MVS operating system. 
Latest Answer : Its the Data Definition (DD) statement It should not exceed 8 charactersIt is normally the identifier name which we give in the cobol program to identify the that the trailing DSN is for the particular DD name for eg:COMMLY   ...

Data definition name is the eight character designation after the // of the DD statement. It matches the internal name specified in the steps executing program. In COBOL that's the name specified 
Latest Answer : The DD name is the logical 8 characters file name which alllows the pplication program to identify or tag the dataset.Whereas the DSN is the physical file name used by the MVS to identify the dataset.like in any application program we can write ...in ...

For an output file DUMMY specifies that the output is to be discarded. For input it specifies that the file is empty.  
Latest Answer : If u r not giving any input values  using below control cardi.e. in the sysin dd *   Then we r using this.When we r using this dummy o/s simulates the presence of this file.When u r reading a file o/s sends the end of file request ...

Latest Answer : Use date parameter ...

What could be the disposition parameter that i would have to use in the jcl if i have a file that has to be created newly for every successful run of the program ,but at the same time it should retain the old data if my program abend in the middle and restarts. could you please provide me the code?
Read Answers (5) | Asked by : vineeth

Latest Answer : Sort it, dummying out SORTOUT ...
Read Answers (6) | Asked by : Basu

Latest Answer : Here's a simple DFSORT alternative using ICEMAN that will count the records of a PS and write it onto another PS.//CTRCDS EXEC PGM=ICEMAN //SYSOUT DD SYSOUT=* //SORTIN DD DSN=INPUT.FILENAME1,DISP=SHR --->Input file//SORTOUT DD DSN=OUTPUT.FILENAME1,DISP=OLD ...
Read Answers (4) | Asked by : Anitha

Latest Answer : VSAM return codes are documentted in the IDC3009I error message. There are too many to memorize. Either print it off or keep it in a file on our PC. Anyone working with VSAM or VSAM cats will reter to it often. ...
Read Answers (5) | Asked by : Rajkumar

Any utilities? Don't want to use any programs. 
Latest Answer : Use disp=modto append the records to a file. ...
Read Answers (1) | Asked by : etajay

Job have 3 steps in 1) Step01 creating New GDG file(+), 2) Step02 Delete file(+), 3) Step03 create new GDG file with same file name What is the version for that file?
Read Answers (2) | Asked by : ddbabu


 Sponsored Links

 
Related Articles

What is Data File

In a logical data model, the conceptual data model which is based on the business semantic is being defined. Thus, entities and relationships and corresponding table and column design, object oriented classes, and XML tags, among other things are being laid regardless of the database will be physica
 

The Interview Snafu

How to turn someone else’s mistake to your advantage Your dream job is about to become reality. A recruiter gave you the heads up about the perfect position at Humungous Conglomerate, Inc. You went through five interviews as well as a battery of psychological tests mandated by their HR de
 

Winning a Job Interview with a Winning Resume

Does your resume unlock your potential, take your skills to the highest level and win you the interview and the job you want now? The job market today is highly competitive and even if you think you have what it takes to get an interview you won’t get over the line without a polished, prof
 

Mainframe Features

Mainframe Features In this Mainframe tutorial you will learn about features of Mainframe Processing power memory capacity performance computing multiple operating system time sharing reliability serviceability availability clustering technology and other features available in Mainframe mosgoogle cen
 

Importance of Proper English during Job Interview

Importance of Proper English during Job Interview Your job interview is crucially important and it will determine whether or not you will get the job Depending on the type of job you re going for it is very important for you to use proper English In most cases jobs which offer higher salaries will h
 

PHP Tutorials - File manipulation (Part-2)

File manipulation Part 2 In this PHP Tutorial you will learn the 2nd Part of File Manipulation Reading lines from a file Reading arbitrary amounts of data from a file Writing to a file Creating directories Removing a directory and Opening a directory for reading mosgoogle Reading lines from a file T
 

PHP Tutorials – File manipulation (Part 1)

PHP Tutorials File manipulation Part 1 In the PHP Tutorial You will learn about File manipulation Part 1 Checking file existence A file or directory Determining file size Creating and deleting files and Opening a file for writing reading or appending mosgoogle Checking file existence You can test
 

HR Interview - HR Interview Mistakes You Will Want To Avoid

HR Interview Mistakes You Will Want To Avoid The job interview can be a stressful process This is especially true for those who are going after a competitive position Your nonverbal communication combined with the answers you give during the interview will determine if you are hired mosgoogle While
 

HR Interview - Behavioral HR Interviews

Behavioral HR Interviews As the name implies a behavioral interview is an interview that is held by a human resources department to determine if an applicant has the behaviors that are appropriate for a job The company must know how an applicant will behave in a certain situations mosgoogle The logi
 

HR Interview - How To Prepare For Your HR Interview

How To Prepare For Your HR Interview Before you begin thinking about how you are going to dress for the interview it is important to do your research first You should learn everything you can about the company you wish to work for When you have detailed information about your employer you will conve
 





About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape