what is the difference between the cpyf command crtdupobj
command?

Answer Posted / sujan

wE CAN'T ABLE TO CREATE A LOGICAL FILE DUPLICATE BY USING
CPYF COMMAND, IF U USE THIS THE LOGICAL FILE CREATED OF FILE
TYPE *PF INSTEAD OF *LF.SO THAT U USE CRTDUPOBJ TO CREATE
THE LOGICAL FILES DUPLICATES

SYNTAX:

CRTDUPOBJ OBJ(OLD_OBJNAME) FROM lIB(LIBNAME)
OBJTYPE(OBJTYPENAME) TOLIB(TOLIB_NAME) NEWOBJ(NEWOBJ_NAME)

Is This Answer Correct ?    14 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to define data area in RPG program? In which scenario multi occurrence DS is use in AS400?

1755


Suppose we have one database file and it is used by 5 programs and in 3 program we have to add some records in datbase file s what is the impact on other program?

1681


What is file identifier where we can use?

847


what is program status data structure?

1794


what is kids-rpg?

894


what is the difference between do while and do until?

952


how do you use commitment control in rpg?

988


How can we know running job is batch or interactive?

866


what happens when sflsiz = sflpag? What are the advantages and disadvantages?

943


What is a record lock error?

1496


What is the purpose of record level identifier?

900


write an RPG program to calculate the marks of 5 students (A,B, C, D, E)in 3 different subjects (eng, math, sci) an display on the screen

1062


can I touch the array during treatments?

943


what is *place and *auto keyword in prtf ?plz explain

2928


can any one help in hawkeye and turnover or any change management system plzzzzz or send the documents to my mail id :gvsp.as4@gmail.com

2179