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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

OPEN INPUT StudentFile READ StudentFile AT END SET EndOfStudentFile TO TRUE END-READ PERFORM UNTIL EndOfStudentFile DISPLAY StudentId SPACE StudentName SPACE CourseCode SPACE YOBirth READ StudentFile AT END SET EndOfStudentFile TO TRUE END-READ END-PERFORM CLOSE StudentFile STOP RUN what will be output

2315


explain in brief how you can create a vsam file?

900


State the differences between vsam and non-vsam files?

775


In a KSDS file, key is missing for one record. How to insert the key for that particular record from back up file. Is there any sorting needed for the back up file before the key insertion?

1245


What is the purpose of idcams?

809


Define dynamic processing?

778


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

892


Tell about the ams used in vsam?

932


how do you define an altindx ? How do you use altindxs in batch, cics programs?

885


what is a base cluster in vsam?

913


what do you mean by idcams? Explain its purpose?

727


what is the meaning of each of the values in shareopts(2 3)?

788


Define gdg?

792


What are the distinctive features of a ksda, key sequenced dataset?

778


What is the purpose of having vsam data space?

754