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 125 of 126    Print  
calculate total space allocated for file
If file is having space parm as SPACE=(CYL,(10,10)) i.e. 10 primary, 10 secondary. So how much cylinders totally it will take before dataset filled till end?


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

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
July 18, 2008 07:31:31   #1  
balakrishnaraothota Member Since: May 2008   Contribution: 8    

RE: calculate total space allocated for file
the question should be given clearly is it vsam or non vsam data set if it is non vsam it is having it is having both 16 primary and secondary extents else it is having 123 primary and secondary extents
 
Is this answer useful? Yes | No
August 17, 2008 04:02:39   #2  
arun442 Member Since: August 2008   Contribution: 3    

RE: calculate total space allocated for file
In such case, the primary space which is 10 in this case used until it is finished then secondary memory(10) is stated to use, but secondary memory can be used 150 times, hence 150+10 =160 is total space available on the cylinder.
 
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   ...

REGION specifies the maximum CPU memory allocated for a particular job or job step. If REGION is in the JOB card, it relates to the entire job; if in the EXEC statement, it relates to the job step.  
Latest Answer : region is the keyword parameter used in job and exec statements annd it is for storage purpose region=2096128k default ...

TIME specifies the maximum CPU time allocated for a particular job or job step. If TIME is in the JOB card, it relates to the entire job; if in the EXEC statement, it relates to the job step.  
Latest Answer : if time parameter is coded on both job and step, then the time coded on the EXEC statement over-rides the one on the job.[refererred on pg 88 of Mvs Jcl Primer]U might be interested to know this too.The COND parameter if coded on both job and step, ...

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 is the advantage of coding RECFM=F over RECFM=FB.I know the concept that RECFM=FB is fast, easily accessable due to the fact that FEW (not 1 records) records are allocated to each BLOCK. Then who would like to specify RECFM=F? And why?
Read Answers (1) | Asked by : vijaya

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

What does a sysin in ICEMAN utility do? what does Sort fields=copy coded in the sysin mean?SCBSM10E EXEC PGM=ICEMAN //SYSOUT DD SYSOUT=V //SORTLIB DD DSN=SORT.SORTLIB,DISP=SHR //SORTIN DD DSN=&&CB10AWDS,DISP= (OLD,DELETE) //SORTOUT DD DSN=&&CB10ASRT,DISP= (,PASS),SPACE=(CYL,(2,1),RLSE), // UNIT=TEMP,DCB= (RECFM=FB,LRECL=90,BLKSIZE=0)//SORTWK01 DD UNIT=TEMP,SPACE= (CYL,3,,CONTIG) //SORTWK02 DD UNIT=TEMP,SPACE= (CYL,3,,CONTIG) //SORTWK03 DD UNIT=TEMP,SPACE= (CYL
Read Answers (2) | Asked by : Lavanya

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


 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