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
what happens when sflsiz = sflpag? What are the advantages and disadvantages?
What is the purpose of record level identifier?
We have job which is running as batch. It takes atleast 06 hours to complete tht job. But I wanna do tht job with in 3 hours?
What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?
How can we know running job is batch or interactive?
what is program status data structure?
can I touch the array during treatments?
can anybody help me to solve this problem. the program that i m checking display error message saying "Record format for file AJDSPFFD does not match model file and decimal error. how to solve this problem. The AJDSPFFD is snapshot the AJTLOG that is the audit trail list.
which program rpg or cl is efficent to update a transaction onto a database file and why ?
how does the rpg element work?
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
how do you use commitment control in rpg?
What is file identifier where we can use?
How Chain operation copies the record's data to the input buffer for the program?
how do I preserve and clean the array?