what is the difference between the cpyf command crtdupobj
command?

Answer Posted / sanjay

CPYF command are used to copy the all data from one data
base file to another or copy the required data from one
file to another files .

when we copy the data from one file to another file that
time if user want to create new file then create new file
object by using CPYF command

CRTDUPOBJ - this command used to create duplicate object
from any existing object your AS400 system.

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between iter and do?

979


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

2208


how does the rpg element work?

979


thanks mr.Harshad R Suryawaunshi,i'm new to as400 i think you are telling in rpgile i know only rpg400 if possible can you tell in rpg400

2124


1. If there are two programs using same file and 2 users are using the file at the same time and what can be done to allow them both to access? 2. How can remove lock from the file for accessing it by both users?

755


How to call one program from another program in RPG? please help me with the code

1520


what do you mean by an input subfile, what are the keywords required?

1060


When it is desirable to describe files Internally?

1436


Please tell me how to read the records from a file with load an array of size with error conditions(The logic answer for this question is ARR is array of 99 elements Z-ADD 0 IDX *LOVAL SETLL FILE READ FILE 99 *IN99 DOWEQ *OFF IDX ANDLT 99 ADD 1 IDX MOVE FIELD ARR,IDX READ FILE 99 ENDDO).So,Please give me the complete of this code.

2305


What is file identifier where we can use?

895


is this a rpg channel?

929


How to handle duplicate error handling in RPG?

2016


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

1791


how do I declare a table or array in rpg iv?

977


what is the necessary keyword needed to scroll subfile records?

941