How we create file in COBAL400



How we create file in COBAL400..

Answer / surya

We can create the file in cobol400 by using the QCMDEXC API. But source of that particular file should exist in the system.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More COBOL400 Interview Questions

What is sort?

0 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 * EVALUATE TRUE WHEN SQLCODE = +000 MOVE WS-COUNT TO Copybook field WHEN SQLCODE = +100 MOVE ZEROES TO Copybook field

2 Answers  


seqence numbers in cobol

0 Answers   TCS,


Trying to help a friend... How do you code screen I/O without a DDS? I know it can be done, because for a short time, I worked for a company that did it. It was just too long ago for me to remember what was involved.

1 Answers  


It's possible use %TRIM statement like rpgile?

2 Answers  






Arrays in COBOL/400

2 Answers   Polaris,


What are fillers? What is the actual use of fillers? With mall/simple example?

0 Answers  


What is input procedure?

0 Answers  


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

0 Answers  


Explain the types of perform?

0 Answers  


What is the syntax of sort?

0 Answers  


Explain the syntax of redefine?

0 Answers  


Categories