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?
Answers were Sorted based on User's Feedback
Answer / manoj
there are few ways for that
1. Write a cobol program
if com3field = 123456
display 'record'
2. Open the file in HEX ON mode and read records one by one :)
3. else use sort utility in jcl
OPTION COPY
INCLUDE COND=(1,8,PD,EQ,123456)
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / vs kumar
By using File-aid we can see the comp-3 data item.
Please correct me if i am wrong.
| Is This Answer Correct ? | 0 Yes | 1 No |
Answer / 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 |
how we can edit records in vsam data set and non vsam data sets
what are the working storage fields in BMS macro?
Can we move X(7) to S9(7) COMP?
What is amode(24)?
What is COMP-1? COMP-2?
what is MSGLEVEL?
What is IMPACT analysis?
what will happen if i give program name and member name as different? program runs successful or w'll abend?
i need the code for this program in cobol. 2 + 1 = 3 4+3=7 6+5=11 8+7=15 10+9=19
How can we increase the size of an existing PDS to include more no. of modules.
plz any one tell clearly the justify right clause?
What are the different types of condition in cobol and write their forms.