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  >  Tech FAQs  >  Mainframe
Go To First  |  Previous Question  |  Next Question 
 Mainframe  |  Question 3 of 65    Print  
what is the difference between plan & package
what is difference between views & joins
what is db2 stored procedures? how to work it in mainframe
how to calculate n th maximum value
if the error code -811 ? how to rectify it?
if the error in dead lock how to rectify it?
how to read the last record in data file don't know the no.of records?
what is the use of profile in Qmf?

  
Total Answers and Comments: 1 Last Update: October 03, 2007     Asked by: latha 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
October 03, 2007 06:13:29   #1  
viji.mumbai Member Since: October 2007   Contribution: 4    

RE: what is the difference between plan & package
Hi Latha,I could suggest you to refer DB2-SQL Red books And online help while working with mainframe.Anyhow, I will answer to few of your questions.Plan is executable code and it contains access path to the packages bound with it.Package is non executable code and it contains access path to DB2(database). This is simple answer to your question. But don't confuse.Views and Joins are no where related but We can use JOIN for creating a VIEWS and fetching records in Views.Views is logical data content extracted from tables, you can access it with view name itself.SQL Code -811 occures when embedded program trying to fetch more than one row and hence to resolve same DECLARE CURSOR if modatory I mean Is necessary to fetch more than one? If your answer for is YES declare it Else check your table and make sure that column is unique one. Otherwise data will be in error.Deadlock will ocurres when other user having exclussive control on or updating data. You can resovle it two ways one By program other by Resubmit job.By Program Means, Make program in loop that count Deadlock error each time and limit it while declaring.To read last record Use FILE-AID/DATA MANUPALATION UTILITY(INSYNC).what is the use of profile in Qmf? For this question read QMF manual.
 
Is this answer useful? Yes | No

 Related Questions

When calculating the record size for Alternate index(with duplicates) we use ==> AIX LENGTH+ 5 + ( n * PRIMARY KEY LENGTH ) Here "n" is the no.of duplicates we want to have. I don't understand this "n" .. how can we decide that no. of duplicates???

How to count the records in COBOL data file?what will happen if the file open in extent mode and corresponding is equal to OLD in jcl?by opening an empty vsam file in i/o wii get file status 35 how can you over come this ?
Read Answers (1) | Asked by : latha

What is the difference between plan & packagewhat is difference between views & joinswhat is db2 stored procedures? how to work it in mainframehow to calculate n th maximum valueif the error code -811 ? how to rectify it?if the error in dead lock how to rectify it?how to read the last record in data file don't know the no.of records?what is the use of profile in Qmf?
Read Answers (1) | Asked by : latha

View Question | Asked by : vinoth

What functions would you assign to mainframe, Unix servers, and Windows servers in an enterprise computing environment?
View Question | Asked by : katzzz63

Latest Answer : Tape storage processing can only be used to store and retrieve sequential data. But in disk storage processing can used to store and retrieve data in sequentially and randomly. Access is faster in disk storage  than tape storage. Tape storage device ...
Read Answers (1) | Asked by : katzzz63

Latest Answer : JCL acts as an intermediate which links the source code with the resources needed.for example: If in a cobol program you specify a file which you are manipulating, then through JCL, you tell the System about the specifications/Location of this file.Other ...
Read Answers (1) | Asked by : manoj

How to write "No records found" text to output file if input file is empty, by writting JCL.
Read Answers (1) | Asked by : shyam

Latest Answer : If the data is in a specific position in the records, use the sort INCLUDE statement to select the records.//SORTSEL EXEC PGM=SORT//SYSOUT     DD  SYSOUT=*//SORTIN     DD  DSN=INPUT.FILE,DISP=OLD//SORTOUT  DD  ...
Read Answers (1) | Asked by : ANILSAYA

Latest Answer : using attention identifier keys ...
Read Answers (1) | Asked by : lavanya


 Sponsored Links

 
Related Articles

Breaking up XML into Relational Data

Breaking up XML into Relational Data While the preceding example shows how to construct an XML representation over relational data the example in this section illustrates how you can shred XML data back into relational data This reverse operation can be useful if your application works with relation
 

Querying Data with Oracle XQuery

Querying Data with Oracle XQuery Starting with Oracle Database 10g Release 2 you can take advantage of a full featured native XQuery engine integrated with the database With Oracle XQuery you can accomplish various tasks involved in developing PHP Oracle XML applications operating on any kind of dat
 

Performing DML Operations on XML Schema Based XMLType Views

Performing DML Operations on XML Schema Based XMLType Views Analyzing the underlying query of the empSch v view discussed in the preceding section you may note that each attribute of the EMP T object used in the select list maps to a certain column of a single table namely emps What this means in pr
 

Using XMLType Views

Using XMLType Views Using XMLType Views XMLType views provide a convenient way to construct XML representations of relational data without physically migrating that data into XML Once written an XMLType view may be used in various queries making them simpler and so increasing their readability mosgo
 

Retrieving XML Data

Retrieving XML DataTo retrieve XML data from an XMLType table you can use a SELECT SQL statement just as you would if you had to query a relational table For example to select the employee with the id set to 100 from the employees XMLType table discussed in the preceding section you might issue the
 

Using XMLType for Handling XML Data in the Database

Using XMLType for Handling XML Data in the Database Being an object type XMLType can not only be used to store XML data in the database but also to operate on that data via its built in methods Regardless of the storage model you choose XMLType provides a set of XML specific methods to operate on XM
 

Using Oracle Database for Storing, Modifying, and Retrieving XML Data

Using Oracle Database for Storing Modifying and Retrieving XML Data With Oracle XML DB you have various XML storage and XML processing options allowing you to achieve the required level of performance and scalability One of the most interesting things about Oracle XML DB is that it allows you to per
 

ODP.NET - Techniques to Improve Performance while Retrieving Data

ODP NET Techniques to Improve Performance while Retrieving Data Performance tuning is a great subject in Oracle Volumes of books would not be enough to cover every aspect of performance tuning in Oracle However in this section we will only discuss the fundamental performance techniques while working
 

ODP.NET - Populating a Dataset with a Single Data Table

ODP NET Populating a Dataset with a Single Data Table A dataset is simply a group of data tables These data tables can be identified with their own unique names within a dataset You can also add relations between data tables available in a dataset mosgoogle The following code gives you the details o
 

ODP.NET - Retrieving Typed Data

ODP NET Retrieving Typed Data While retrieving values from OracleDataReader we can extract information available in individual columns of a particular row either by using column ordinal position values or column names mosgoogle Retrieving Typed Data Using Ordinals ODP NET provides data specific enum
 





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