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

Explain the process in which flat files are converted into vsam files?

0 Answers  


What is the main function of key sequenced data set in vsam?

0 Answers  


How to get the last record in vsam file in cluster?

0 Answers  


can i see how many records does a vsam file have without browsing or without using file-aid? and same for ps file?

3 Answers   Tech Mahindra,


what is the difference between vsam and dataset how do u create vsam dataset which file you r used?

2 Answers   Fidelity,






How is record management performed in vsam?

0 Answers  


Explain the meaning and syntax for the START command. ?

4 Answers   IBM,


Explain the difference between lds and esds?

0 Answers  


how can we convert esds to lds?

2 Answers  


What is the COBOL RECORD KEY clause?

2 Answers  


what is the use of the file status clause in the select statement in vsam?

0 Answers   IBM,


How many buffers are allotted to VSAM KSDS and ESDS?

1 Answers  


Categories