why we are using picture clause in the cobol programs?
Answers were Sorted based on User's Feedback
Answer / nag(igate)
pic clause is used to declare the data type and size of
variable
| Is This Answer Correct ? | 8 Yes | 0 No |
consider the following progrm statements MOVE 0 TO SW.NO.OF.REC PERFORM PRI-OUT UNTIL SW=1 DISPALY NO.OF.REC STOP RUN PRE-OUT READ IN-FILE AT END MOVE 1 TO SW WRITE OUO-REC FROM IN-REC ADD 1 TO NO.OF REC if the IN-FILE contains 1000 records what value will be displayedafter the PERFORM is over?assume that N0.OF.REC has PIC 9(4) a.1000 b.1001 c.1 d.none of the above since there is a syntex error
How many sections are there in data division in COBOL?
if you give cylinder(1,1)how many cylinders it will be allocate?
whats the disadvantage of search all over search?
How can we increase the size of an existing PDS to include more no. of modules.
Describe the cobol database components?
I had 100 records and i want to execute last three records by using cobol programming?what will be coding?
what is the maximum error code in mainframe
study the following code 01 A1 05 B PIC 99 05 C PIC X(4) 01 A2 05 B PIC 99V99 05 C PIC A(4) pick out the valid statement from the following a.A1 and A2 can not have sub-ordinates b.A1 and A2 can have the same sub-ordinates but must have same PIC clause c.there is nothing wrong d.A1 and A2 can have same sub-ordinates provided they are not at 01 level
What guidelines should be followed to write a structured cobol prgm?
what are the steps to sort in a cobol program?
What are the different forms of EVALUATE statement?