How to insert values for variables that are declared as
COMP-3 variables in COBOL program in an already created
VSAM file.

Answers were Sorted based on User's Feedback



How to insert values for variables that are declared as COMP-3 variables in COBOL program in an al..

Answer / rookie

Did you mean how to insert values directly in the file....

If then open the file directly thru some utility...and edit
the field using HEX OFF option....

Is This Answer Correct ?    1 Yes 0 No

How to insert values for variables that are declared as COMP-3 variables in COBOL program in an al..

Answer / guest

thats gr8. consider this situation. Since i am using COMP-3
variables, i have allocated only 10 bytes while i created
VSAM. But then i want to edit variables of 20 bytes. How to
then?

Is This Answer Correct ?    1 Yes 0 No

How to insert values for variables that are declared as COMP-3 variables in COBOL program in an al..

Answer / guest

Hi,

Just create a coy book layout for the VSAM data set.

Usein FileAid specify the copy book and select the VSAM
file. (use EDIT mode )

It will list all the column. Just specify you data or do
edit.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More VSAM Interview Questions

what are the different types of vsam files available? Explain them

1 Answers   IBM,


How can you create a VSAM dataset? Can you write a JCL for it?

4 Answers   IBM, TCS,


what do you mean by a shareoptions parameter (shr) in define cluster command?

0 Answers   IBM,


How do you load a VSAM data set with records ?

2 Answers  


what will happen if there is no secondary allocation made for datasets?

0 Answers   IBM,






what is the drawback of vsam dataset?? a.execution slow. b.free space. c.independent storage device. d.none of the above. let me know the answer with reason.

4 Answers   Target,


How many buffers are allotted to VSAM KSDS and ESDS?

1 Answers  


what is buffering and how does it apply to vsam files ?

0 Answers   IBM,


The first VSAM file V1 has 2 fields A and B . There is a DB2 file which has fields E and f. We need the fields A, B , E and F to another VSAM file called V2. Kindly mention the logic in procedure division in cobol..

2 Answers   Cap Gemini,


What is the main function of linear dataset?

0 Answers  


max how many AIX coded in a vsam dataset??

2 Answers  


Describe SHAREOPTIONS parameter (SHR) in Define Cluster command.?

1 Answers  


Categories