i have a requrement in A as viswa!@#$%&^**reddy i need to
move viswareddy in B without junk values pls say how to do
ths reply fast
Answer Posted / vinod
01 a pic x(19) value 'viswa!@#$%&^**reddy'.
01 b pix x(11).
procedure division.
move a(1:5) to b(1:5).
move a(15:5) to b(6:5).
display b.
| Is This Answer Correct ? | 17 Yes | 1 No |
Post New Answer View All Answers
In COBOL programming, what is PERFORM? What is VARYING?
What guidelines should be followed to write a structured cobol prgm?
Define static linking and dynamic linking.
How can you get the ksds file records into your cobol program?
How do u write test cases?
A table has two indexes defined. Which one will be used by the SEARCH?
What rules are to be followed while using the corresponding options?
Write a program that uses move corresponding.
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
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?
what is search and searchall?what is the diffrence between them?give an best example?
What is comp-1 and comp-2?
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
What are different data types in cobol?
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc