can we print comp 3 stmts how ?

Answer Posted / kaarthik


1. Redefine the comp-3 with a numeric field and then move
the numeric value to an Alphanumeric value and then Display
it.

Regards,
Kaarthik

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

In COBOL programming, what is PERFORM? What is VARYING?

672


What are the different types of condition in cobol and write their forms.

659


) how do u code after getting data?

1580


What are different data types in cobol?

691


For rewrite, why is it mandatory that file needs to be opened?

623






Write a program to enter and display the names of students in a class using the occurs clause.

654


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

4061


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

2723


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

1523


I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?

1230


I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.

1117


Name some of the examples of COBOl 11?

2686


what happens if parmparameter passes zero bytes to the program

1667


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

712


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

759