ALLInterview.com :: Home Page            
 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  Contact Us     Login  |  Sign Up                      
Google
   
 
Categories >> Software >> MainFrame >> IBM MainFrame >> COBOL
 
 


 

 
 COBOL interview questions  COBOL Interview Questions (849)
 JCL interview questions  JCL Interview Questions (700)
 CICS interview questions  CICS Interview Questions (448)
 DB2 interview questions  DB2 Interview Questions (668)
 IMS interview questions  IMS Interview Questions (79)
 IDMS interview questions  IDMS Interview Questions (6)
 Natural interview questions  Natural Interview Questions (39)
 ADABAS interview questions  ADABAS Interview Questions (7)
 REXX interview questions  REXX Interview Questions (21)
 Assembler interview questions  Assembler Interview Questions (29)
 CLIST interview questions  CLIST Interview Questions (1)
 QMF interview questions  QMF Interview Questions (4)
 MVS interview questions  MVS Interview Questions (11)
 OS390 interview questions  OS390 Interview Questions (9)
 OS 2 interview questions  OS 2 Interview Questions (0)
 VSAM interview questions  VSAM Interview Questions (177)
 QSAM interview questions  QSAM Interview Questions (3)
 Sysplex interview questions  Sysplex Interview Questions (5)
 IBM MainFrame AllOther interview questions  IBM MainFrame AllOther Interview Questions (128)
Question
how you will define variables length in cobol.
 Question Submitted By :: COBOL
I also faced this Question!!     Answer Posted By  
 
Answer
# 1
We can define variable length in cobol in the File section
as :
RECORDING MODE IS V OR VB ( where V stands for variable and
VB stands for variable block )
 
Is This Answer Correct ?    3 Yes 0 No
Shamina
 
Answer
# 2
The variable length in cobol can be defined as s9(4) usage
comp.
 
Is This Answer Correct ?    1 Yes 0 No
Sree
 
 
 
Answer
# 3
file section.
fd recseqv
recording mode is v
record varying from 3 to 80 characters.
01 recseqv-fd-record pic x
occurs 3 to 80 times
depending on ws-record-length.
 
Is This Answer Correct ?    0 Yes 1 No
App
 

 
 
 
Other COBOL Interview Questions
 
  Question Asked @ Answers
 
file status 00 is checked after opening the file or reading the file John-Deere 4
what is SYNCHRONIZATION? Syntel 3
what will be the output when a)pic 9(6)value 000178 is moved to pic ***,***. b)pic 9(5) value 57397 is moved to pic $$,$$9.   5
what happens if we wont give timestamp in precompilation process ? Covansys 4
The below is the declaration for a variable ws 01 ws pic 9(3). if you want to insert space how will you do that. in which level u should do it ADP 3
How can I tell if a module is being called DYNAMICALLY or STATICALLY? CTS 3
I have the file which is having the extension no as records. sample file will look like below. 2310 3410 3256 4350 3781 5408 I need to replace the record which is starting with 3 to 5 (i.e) 3410 to 5410. How can we do it through cobol and cobol-db2 program? I need the possible logic? RBS 5
How do you sort in a COBOL program? Give sort file definition, sort statement syntax and meaning. CGI 7
If by mistake we MOVE a working storage variable into LINKAGE area. What will happen?? Accenture 4
wht is packed decimal in cobol   2
Hi................... I have records like this aaaa cccc bbbb And i want output like this bbbb cccc aaaa How can it possible ?. Note:Please make sure records are in unsorted order. somebody plzzz help me.   1
what is call by value and call by reference ? Infosys 3
 
For more COBOL Interview Questions Click Here 
 
 
 
 
 


   
Copyright Policy  |  Terms of Service  |  Articles  |  Site Map  |  RSS Site Map  |  Contact Us
   
Copyright 2013  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  KalAajKal.com