Can we move SPACES to numeric field and ZEROES to
alphabetic field? If yes what are the way doing this?

Answer Posted / guest

Chakri, you are wrong. Only Numeric data can be moved to
alphanumeric variable. The reverse is not possible.
One way of doing it is using Redefines clause.

Is This Answer Correct ?    6 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the various section in data division and briefly explain them.

698


)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?

1523


i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc

2105


How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)

2723


what is amode(24), amode(31), rmode(24) and rmode(any)?

699






Give some examples of command terminators?

758


What is report-item in COBOL?

711


There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.

932


Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.

1701


How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?

648


What is link edit in cobol?

772


What is rmode(24)

678


Name some of the examples of COBOl 11?

2685


here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?

6829


How are the next sentence and continue different from each other?

766