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
how do you reference the rrds file formats from cobol programs
i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com
i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this
I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.
What is the difference between external and global variables in COBOL?
2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic
i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?
How do you reference the fixed block file formats from cobol programs
What is the difference between comp and comp-3?
What is report-item in COBOL?
For rewrite, why is it mandatory that file needs to be opened?
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
What are the pertinent COBOL
I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?