Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


what are the diferences b/w sub-script and index?

Answers were Sorted based on User's Feedback



what are the diferences b/w sub-script and index?..

Answer / kiran

Index is a displacement we cannot do any arthematic
operation by using index only we can asign value by using SET

Ex: set indexname to 1
upby/downby

Subcript is working storage variable we can use in
arethematic operations and used for occurances of a para

Is This Answer Correct ?    10 Yes 0 No

what are the diferences b/w sub-script and index?..

Answer / ajay dwivedi

Subscript refers to an array occurrance, whereas Index
shows the displacement in number of bytes.

Is This Answer Correct ?    2 Yes 0 No

what are the diferences b/w sub-script and index?..

Answer / mchava

A subscript is a working storage data definition item,
typically a PIC (999) where a value must be moved to the
subscript and then incremented or decremented by ADD TO and
SUBTRACT FROM statements.
An index is a register item that exists outside the
program's working storage. You SET an index to a value and
SET it UP BY value and DOWN BY value.

Is This Answer Correct ?    1 Yes 0 No

what are the diferences b/w sub-script and index?..

Answer / sumankumar

SUB-SCRIPT IS NOTHING BUT NUMBER ITS CAN DEFINE IN PERFORM
AND IT CAN BE INCREMENTED BY ARITHMETIC OPERATION, AND IT
CAN BE DISPLAY DIRECTLY

INDEX IS NOTHING BUT DISPLAY POSITION OFF ARRY COMAND AND IT
INCREMENTED BY SET VERB AND IT CANNOT DIRECTLY DISPLAYED

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More COBOL Interview Questions

I have a Main Program which is calling Sub-Program which is a DB2 pgm. What will happen if I am not closing the cursor used in the Sub-program? Please advise..

3 Answers   iGate,


what is SYNCHRONIZATION?

3 Answers   Syntel,


Explain about Redefines cluse?

3 Answers   iGate,


What are the access modes of START statement?

0 Answers  


I am getting S00F abend when i try to compare two variable of different pic class,one variable is of 9(09) and another is S9(09) comp-3. First i moved the data from S9(09) comp-3 to 9(09), but no luck. So i tried to move the data from S9(09) comp-3 to X (09) and move to 9(09). I am getting same error message, Please help me to find solution for this ptoblem. ERROR MESSAGE - "The system or user abend S00F R=NULL was issued."

1 Answers  


How to read a record from bottom of a file which is indexed by 'A'.

4 Answers   Oracle,


How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?

0 Answers  


Can printer files (having 133 characters) be of variable length?

3 Answers  


What will happen if we try to create GDG (+2) generaton instead of (+1) generation?

1 Answers  


i Want All cobol ERROR codes?

4 Answers   HCL, IBM,


how can u redefine picx(10) with pic 9(6).

3 Answers   TCS,


Name some of the examples of COBOl 11?

0 Answers   CSC,


Categories