What is the difference between Perform para and perform
asaection in cobol?
Answers were Sorted based on User's Feedback
Answer / sruthi
perform para means only that particular para will be
executed.
section can have one or more paras.
so perform section means the paras under that section will
be executed.
Thanks,
sruthi.
| Is This Answer Correct ? | 6 Yes | 1 No |
Answer / ssampath
Perform para is just one paragraph and perform section can
perform multiple para's.
| Is This Answer Correct ? | 2 Yes | 0 No |
given the following: 77 A PIC 9V9 VALUE 9.5 77 B PIC 9 VALUE 9. 77 C PIC V9 VALUE 0.8 77 D PIC 9 77 E PIC 9 77 F PIC 9V999 what are the contenta of D E nad F after the following statements are executed: COMPUTE F ROUNDED=A+C/B MULTIPLY A BY C GIVING E ADD B C A GIVING D ROUNDED a.F=9.589 E=8 D=1 b.F=9.589 E=8 D=9 c.F=9.589 E=7 D=9 d.F=9.589 E=7 D=1
I have a source program compiled with Cobol-2. The output file has a record length of 100 defined in the program but a record of 60 bytes getting written into it. i.e. The rest of 40 bytes I am not Writing anything. But it by default puts some values into the last 40 bytes. However it does not impact anything. But when Compiled the module with Enterprise Cobol the last 40 bytes were spaces as fillers. Can anyone explain?
A table has two indexes defined. Which one will be used by the SEARCH?
how will u pass dadta to cobol+db2 program...?
In EBCDIC, how would the number 1234 be stored?
What are the ways you can generate a copybook?
how would you resolve sb37 and SE37?
Consider the following: 77 A PIC 9(10) 77 B PIC 9(10) 77 C PIC 9(19) MULTIPLY AB BY B GIVING C Which of the following is true ? (a) The execution of the above may result in size error. (b) The execution of the above will result in size error. (c) The definition of C is invalid resulting in compilation error. (d) No error will be thee and the program would proceed correctly.
What do you understand by passing by reference and passing by content?
I have dataset DS1 which has records say 1 2 3 4 5 ... ... etc And also I have second dataset DS2 whcih has records 1 3 4 5 6 8 .. ... Both the files are sorted and now I want to compare these files and write it into the third files if the records are matching.
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
What is the Linkage section? What is the Use and Why the parm length use alway "PARM-LENGTH PIC S9(4) or PIC S9 (4) COMP." any reason?.Please let me know any one... Cheers,Prasad