🎴 Flashcard Mode
Multi-Platform Technical Quiz: ABAP, SAS, Java, Cognos & IBM i
Card1 / 20
Mastered0
Review0
QuestionClick to flip
Which of the following is true on CPYF and CRTDUPOBJ when a logical file needs to be copied?
AnswerClick to flip back
A
CRTDUPOBJ copies the records of one logical file to another but retains the file attribute as LF.
💡 Explanation:
CRTDUPOBJ creates an exact duplicate of an object, preserving all original attributes including the LF (Logical File) designation. CPYF, however, copies the data but creates a new Physical File (PF) rather than maintaining the logical file structure. Option B correctly identifies that CRTDUPOBJ retains the file attribute as LF when duplicating a logical file.