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 / raghu

01 a pic x(19) value 'viswa!@#$%&^**reddy'.
01 b pix x(11).
procedure division.
perform a until ws-eof-str
if a is alphabetic
move a to b
display b
end-if
end-perform

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is it necessary that file needs to be opened in I-O mode for REWRITE?

742


Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?

624


A table has two indexes defined. Which one will be used by the SEARCH?

752


I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......

10574


how do you reference the variable unblock file formats from cobol programs

743






how to convert the recors form vsam file to db2 table tru file aid

2757


i want a program using by if, evaluate , string, unstring, perform, occurs?

4045


What are various search techniques in cobol? Explain.

641


i need a small 3d program using inline and outline.

1629


Why did you choose to work with ibm mainframe cobol programming?

627


What is the problem of ordered sequential files access?

693


Name the sections present in data division.

697


can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech

1950


In which area will you utilize 88 level items in cobol?

713


What are different data types in cobol?

685