why we are using picture clause in the cobol programs?

Answers were Sorted based on User's Feedback



why we are using picture clause in the cobol programs?..

Answer / nag(igate)

pic clause is used to declare the data type and size of
variable

Is This Answer Correct ?    8 Yes 0 No

why we are using picture clause in the cobol programs?..

Answer / raj

pic clause is used for declaring datatype

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More COBOL Interview Questions

Can a REDEFINES clause be used along with an OCCURS clause? if yes, 01 WS-TABLE. 03 WS-TABLE-EL OCCURS 5 TIMES PIC X(1) VALUE 'A'. 03 WS-EX REDEFINES WS-TABLE-EL PIC X(5). What can you expect? if no,why?

6 Answers  


Explain how to differentiate call by context by comparing it to other calls?

0 Answers  


what is the default print format? in cobol

3 Answers   HSBC,


i am a btech cs 2009 passout. i am opting for mainframe course. is it good to do this course? pls. anyone suggest me

4 Answers  


1.What is the limit of linkage section?

4 Answers  






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

4 Answers   Accenture,


ID DIVISION. PROGRAM-ID. PLO. DATA DIVISION. WORKING-STORAGE SECTION. 01 VAR1 PIC 9(2). 01 VAR2 PIC X(2). PROCEDURE DIVISION. ACCEPT VAR2. MOVE VAR2 TO VAR1. STOP RUN. if i give 'PI' in var2 then what will b output of progr. any abend?????

6 Answers   TCS,


How is sign stored in a comp-3 field?

7 Answers  


i want to store 20 digits . h will u do it in cobol ?

4 Answers   TCS,


why we are using picture clause in the cobol programs?

2 Answers  


I encountered an error when I move spaces to a numeric field?What should I do to move spaces on that field?help please.

9 Answers  


what will happen if pass values more than 100 using PARM parameter?

1 Answers  


Categories