I have a variable account-number declared as comp-3, s9(10)
comp-3 in a file. How do i find a particular account number
say 123456 in that file?

Answer Posted / balaji

Put HEX ON in the file and you can find the numbers
equivalent to the hexa decimal

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the pertinent COBOL

2124


Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc

936


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

804


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

791


what is s000 u4087 error? please give the all error codes in cobol,jcl.

17283






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.

5230


What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?

804


Can you please let me know the centre name of INS certification in Kolkata.

1814


What are the rules of the move verb?

813


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

797


if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need

943


How many bytes S(8) comp field occupy and its maximum value?

1745


how do you define single dimensional array and multidimensional array in your cobol?

766


Give some examples of command terminators?

848


How do u write test cases?

1717