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 can u find out just by seeing wheater it is main program or sub program ? any two ways to identify reply soon ?
) What is the use of IGNORE?
what are the isolation levels and where we use it in the db2 program
SIGN TRAILING SEPARATE field occupy ?
What rules are followed by the search verb.
What is the meaning of 'Eject' verb in cobol?
01 WS-NAME PIC X(10) OCCURES 2. by this we can get ws-name 2 times. My qustion is how can we access the second name
where do we use dyanamic call ? and where do we use static call pls give any example pls ?
can we use reference modification an arry.
Write a program to explain size error.
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
what will happen if i give program name and member name as different? program runs successful or w'll abend?