As400 Developer
As400 Developer Interview Questions and Answers
Q1. How to copy the file from qry command
To copy a file from qry command, use CPYTOIMPF command.
Use CPYTOIMPF command to copy a file from qry command
Specify the file name and library in the command
Specify the output file name and path in the command
Use the correct format for the output file
Example: CPYTOIMPF FROMFILE(QRYFILE) TOSTMF('/MYFOLDER/QRYFILE.CSV') MBROPT(*REPLACE) RCDDLM(*CRLF) DTAFMT(*DLM)
Q2. Why is OVRDBF Command used?
OVRDBF command is used to override the file being processed in a program with a different file.
Used to temporarily change the file being processed in a program
Helps in testing programs with different files without changing the program logic
Can be used to redirect output to a different file
As400 Developer Jobs
Interview Questions of Similar Designations
Interview experiences of popular companies
Calculate your in-hand salary
Confused about how your in-hand salary is calculated? Enter your annual salary (CTC) and get your in-hand salary
Reviews
Interviews
Salaries
Users/Month