What is LENGTH in COBOL II?

Answers were Sorted based on User's Feedback



What is LENGTH in COBOL II?..

Answer / satheesh

LENGTH acts like a special register to tell the length of a
group or an elementary item.

Is This Answer Correct ?    5 Yes 0 No

What is LENGTH in COBOL II?..

Answer / satish

length is inistric function it tell's how bytes occupy by
dataitem

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More COBOL Interview Questions

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

1 Answers  


I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue

1 Answers   IBM,


when iam reading a flat file which has 100 records through cobol program when iam reading 50th records it gets abends .. so when i run the program again it should read from 50th record .where it got abened ? how it is possible

1 Answers   Patni,


how to transfer the file from pc to mainframe??

5 Answers   TCS,


i want to use only first 100 records from a file.plz tell me how to write JCL for this(for read,copy,write operations).plz give me details of all posible JCL utilities?

7 Answers   CTS,


Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.

1 Answers   iNautix,


Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.

1 Answers  


what is Pic 9v99 Indicates?

2 Answers  


i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc

1 Answers  


What will happen if a variable is declared as below.. Explain with an example? Working storage section:- 01 WS-VARX PIC X(10) VALUE 'ABCDEFGHIJ'. 01 WS-VARN REDEFINES WS-VARX PIC 9(5) VALUE '12345'. What will happen I want Display WS-VARX and WS-VARN?

3 Answers   Xansa,


What are declaratives and what are their uses in cobol?

1 Answers  


If by mistake we MOVE a working storage variable into LINKAGE area. What will happen??

4 Answers   Accenture,


Categories