How do you define a variable of COMP-1? COMP-2?

Answer Posted / pal

77 A COMP-1.
77 B COMP-2.

because we can't use PIC clause in comp-1 & comp-2

Is This Answer Correct ?    42 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to use the same COBOL program in Batch and CICS on lines? explain with an example

1912


how to refer the data field?

1800


What is the difference between structured cobol programming and object alternativelyiented cobol programming?

702


Write down the divisions of cobol program?

665


input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?

1866






What are the different data types in cobol?

786


In COBOL, what is the different between index and subscript?

753


What is a SSRANGE and NOSSRANGE?

818


What is the difference between binary search and sequential search?

636


what happens if parmparameter passes zero bytes to the program

1658


How do you reference the fixed block file formats from cobol programs

699


What is rmode(any) ?

678


I have one ps file in which there are 3 fileds emp_no,emp_name and leave_app.this ps file information give the detail of employee which is going to apply for leave.suppose emp_no=113430,emp_name=ajay,leave_app=1 that means he is going to apply for 1 day leave.and accordingling the table in db2 will be updated means if he has that no of leave in his account then he will get dat leave and updated acc. in table(leave_balance=previous leave present in table-leave_app).Now i want to check whther the updated result is correct or not by comparing the two ps file using IEBCOMPARE or icetool so what is going to be the two ps file and how its is going to be compare.

2001


What is an in line perform? When would you use it? Anything else you wish to say about it.

641


What are the different rules of SORT operation?

689