GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Mainframe  >  DB2
Go To First  |  Previous Question  |  Next Question 
 DB2  |  Question 74 of 198    Print  
File opening modes in cobol and corresponding dispositions?

  
Total Answers and Comments: 2 Last Update: July 21, 2006   
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
December 29, 2005 05:29:46   #1  
hari        

RE: File opening modes in cobol and corresponding disp...

File opening modes are

Input mode output mode extend mode inputoutput mode.

Inputmode-------- Read the file

outputmode-------- write the record.

extend mode-------- appeand the records.

i/o mode------------- read or write any thing.


 
Is this answer useful? Yes | No
July 21, 2006 06:23:04   #2  
umapathi        

RE: File opening modes in cobol and corresponding disp...

File opening modes are

Input mode output mode extend mode inputoutput mode. corresponding disposition codes in JCL.

Inputmode-------- Read the file SHR (DISP)

outputmode-------- write the record. NEW

extend mode-------- appeand the records. MOD

i/o mode------------- read or write any thing. NEW

pl correct me if i am wrong.


 
Is this answer useful? Yes | No

 Related Questions

SPUFI stands for SQL processing using file input. It is the DB2 interactive menu-driven tool used by developers to create database objects.  
Latest Answer : SPUFI : SQL Processing Using File Input, it supports the on-line execution of SQL statements from a TSO terminal ...

DCLGEN stands for declarations generator; it is a facility to generate DB2 sql data structures in COBOL or PL/I programs.  
Latest Answer : In COBOL DB2 programs the host variables are needed for the column names of the tables. This can be done by a DB2 utility called DCLGEN Declaration Generator. This is primarily a copybook of host variables and also contains table structure and helps in ...

Latest Answer : File opening modes areInput mode , output mode, extend mode, inputoutput mode. corresponding disposition codes in JCL.Inputmode--------  "Read" the file       SHR    (DISP)outputmode--------"write" the ...

Latest Answer : Record will be appeand in the file. ...

Latest Answer : How does you get record no from 5 to 15 from a dataset of 100 records?         ...

There are two programs say A&B,A is only cobol program,B iscobol-db2 program, how to compile both programs?

Latest Answer : You should use cobol defined variable RETURN-CODE in you cobol program ...


Latest Answer : hi the above said answer is correct  but selection criteria to usage should be T ...

Latest Answer : read filename at end display record. ...


 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 -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape