WHAT ALL THE CONDITIONES REQUIRED FOR USING OPEN OPCODE ON
A FILE?

Answers were Sorted based on User's Feedback



WHAT ALL THE CONDITIONES REQUIRED FOR USING OPEN OPCODE ON A FILE?..

Answer / avinash

There are some conditions,
1. File should be decare in FILE-CONTROL, FILE SECTION.
2. file should be closed before opening it other wise ut
will gives error.

Is This Answer Correct ?    6 Yes 0 No

WHAT ALL THE CONDITIONES REQUIRED FOR USING OPEN OPCODE ON A FILE?..

Answer / shobhit

Use UC(User Control)in positon 58 in F spec.

Is This Answer Correct ?    1 Yes 7 No

Post New Answer

More COBOL400 Interview Questions

Arrays in COBOL/400

2 Answers   Polaris,


what is the difference between section,paragraph and sentences

4 Answers  


How can i change the below code in SQL to cobol/400? EXEC SQL SELECT COUNT(*) INTO : WS-COUNT FROM Db file WHERE Field 1 = : WS-VAR AND Field 2 = : WS-USERID END-EXEC

2 Answers   HP,


What is output procedure?

0 Answers  


Explain the syntax of sort?

0 Answers  






What is comp?

0 Answers  


write a cobol program to display prime numbers between 1 to 100?

5 Answers   Cap Gemini, NISA,


I like to know if possible to use %TRIM or any statement with prefiv "%" like RPG ile programs. thanks

0 Answers  


What is the syntax of redefine?

0 Answers  


define sort? and its syntax?

3 Answers  


Explain the difference between search and searchall?

0 Answers  


Explain the syntax of redefine?

0 Answers  


Categories