ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage   interview questions urls   External Links  Contact Us     Login  |  Sign Up                      
info       Did you received any Funny E-Mails from your Friends and like to share with rest of our friends? Yeah!! you can post that stuff   HERE
Google
 
Categories  >>  Software  >>  MainFrame  >>  IBM MainFrame  >>  COBOL
 
 


 

 
 COBOL interview questions  COBOL Interview Questions
 JCL interview questions  JCL Interview Questions
 CICS interview questions  CICS Interview Questions
 DB2 interview questions  DB2 Interview Questions
 IMS interview questions  IMS Interview Questions
 IDMS interview questions  IDMS Interview Questions
 Natural interview questions  Natural Interview Questions
 ADABAS interview questions  ADABAS Interview Questions
 REXX interview questions  REXX Interview Questions
 Assembler interview questions  Assembler Interview Questions
 CLIST interview questions  CLIST Interview Questions
 QMF interview questions  QMF Interview Questions
 MVS interview questions  MVS Interview Questions
 OS390 interview questions  OS390 Interview Questions
 OS 2 interview questions  OS 2 Interview Questions
 VSAM interview questions  VSAM Interview Questions
 QSAM interview questions  QSAM Interview Questions
 Sysplex interview questions  Sysplex Interview Questions
 IBM MainFrame AllOther interview questions  IBM MainFrame AllOther Interview Questions
Question
why occurs clause not mentioned in 01 level
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: why occurs clause not mentioned in 01 level
Answer
# 1
because that level mention only record name if you are 
using occur that is repeated more than one time 
so record name not repeated more than one time. field only 
repeated more time
 
Is This Answer Correct ?    4 Yes 0 No
Rajkumar
 
  Re: why occurs clause not mentioned in 01 level
Answer
# 2
Level 01 refers to a group item where as occurs clause is
only for elementary items.............i.e other than
01...like 02..03....etc., it should be an independent one.
 
Is This Answer Correct ?    2 Yes 1 No
Muthu
 
 
 
  Re: why occurs clause not mentioned in 01 level
Answer
# 3
we have 2 types of redefines
1. Explicit redefines -- we generally use in our cobol 
logic using redefine keyword.

2. Implicit redefines -- system redefines its spaces 
accordingly .. eg: the variable/record defined with 01 
level are usually redefined by the system.  

this is th ereason why we wont define occurs  clause @ 01 
level
 
Is This Answer Correct ?    1 Yes 0 No
M
 

 
 
 
Other COBOL Interview Questions
 
  Question Asked @ Answers
 
What is a subscript ?  2
01 a pic s9(5) value -12345, if we disply a , the sign will overpunched with last digit but i need to get the miuns sign in the result?  3
i have two file one is ksds another one is esds i want store matching records in flat file how to you matching. Wipro1
can we use variable picture clause as xx.99 in cobol.  2
What is normalisation? IBM1
How many sections are there in data division?.  3
What does the INITIALIZE verb do?  1
How to convert bunch of words in a line to relvant ASCII values?  2
How to find How Many Lines in Sysin DD * Parameter Thru Cobol Coding? If any one knows the Answer Please Reply .....Thanks From Shree Merrill-Lynch1
PERFORM ACCUMULATE-TOTALS VARYING A FROM 1 BY 2 UNTIL A >2 AFTER B FROM1 BY 1 UNTIL B>2 AFTER C FROM 2 BY -1 UNTIL C<2 How many times the paragraph ACCUMULATE-TOTALS would be exicuted? TCS4
given the following piece of code: CALL SUB-PGM USING A, B, C. CALL SUB-PGM USING A, C, C. (a) Both CALL statements will always produce same result. (d) Both CALL statements may produce different result. (c) Compile-time error because SUB-PGM is a dataname. (d) Compile-time error because A, B, C are used twice. TCS1
What are the two search techniques ?  2
What is LENGTH in COBOL II? CSC1
What is the difference between CONTINUE & NEXT SENTENCE ?  1
I have PS flat file with 14 records. I want to read from 4th to 9th record and want to write those 6 records (4th record to 9th record) to another PS file (output file). there is no key defined in the input file. I just want read a certain Consecutive records. can any one please give me the procedure division Coding for this. I have coded the below coding but the READ-PARA is performing only 1 time even though I have 14 records in my input file (i.e FILE-1): PROCEDURE DIVISION. A000-SECTION. MOVE 0 TO I. OPEN INPUT FILE-1. IF CHECK-KEY1 > 0 DISPLAY "OPEN ERROR FOR FILE-1, CODE IS:" CHECK-KEY1 END-IF. OPEN EXTEND NEWFILE-1 IF CHECK-KEY3 > 0 DISPLAY "OPEN ERROR FOR NEWFILE-1 COD IS" CHECK-KEY3 END-IF. PERFORM READ-PARA THRU EXIT-PARA UNTIL EOF-REC = 'YES'. DISPLAY " FINALLY OUT OF LOOP" CLOSE FILE-1 CLOSE NEWFILE-1 STOP RUN. READ-PARA. ADD 1 TO I READ FILE-1 AT END MOVE 'YES' TO EOF-REC IF I > 3 AND < 10 PERFORM WRITE-PARA ELSE DISPLAY "NOT IN RANGE" END-IF. EXIT-PARA. EXIT. WRITE-PARA. WRITE NEW-REC FROM FILE1-REC. IBM5
What is the meaning of 'TALLING' verb in cobol?  3
Explain complete concept of table handling in COBOL with an example? IBM2
comp-3 field occupy?  2
What is the difference between a subscript and an index in a table definition?  1
What is a scope terminator? Give examples.  1
 
For more COBOL Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com