What is difference between rename and prefix?



What is difference between rename and prefix?..

Answer / Rishu Kumar

RENAME is a command in IBM i (AS400) that allows you to change the name of objects such as files, libraries, and print files. Prefix, on the other hand, is used to add a common string to the beginning of object names for easier management and organization.nn For example:n RENAME old-file TO new-filenChanges the name of 'old-file' to 'new-file'.nn Prefixing a library can be done like this:n LIBRARY (new-prefix.lib1 lib2 lib3)

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More IBM AS400 AllOther Interview Questions

How we can delete all the Logical File of a Physical file in one instance ?

9 Answers   IBM,


What is the maximum number of subfiles that can be specified in a display file?

2 Answers   IBM,


Hi,Can any body give the code for the below mentioned quetion.?Im trying to get coding in with easily inderstanding.Plese give me the coding for this? 1.How would you achieve this requirement with out using RPG/RPGLE pgm,but by using only CL?Read a database file and display file contents on the screen when enter key pressed the next record should be displayed on screen.When the last record is reached or when F3 key is pressed the program should exit if the file is empty,a message should be displayed indicate that there are no records to display. Database file Name=EMPDBF Fields in EMPDBF to be displayed on screen Employee Number- EMPNUM(5,0) Employee Name- EMPNAM(30,A) Employee Address-EMP ADDR(50 A)

1 Answers   TCS,


How to genarate the reports?

1 Answers  


can a join logical file be updated?

1 Answers   IBM,


what does exfmt does?

1 Answers   IBM,


what opcode could be used to test an alphanumeric field for all numeric values?

2 Answers   IBM,


what are different types of substems?

2 Answers   IBM,


What is the difference between Array and Table?

1 Answers  


what does opcode post do ?

2 Answers   IBM,


STRTCPFTP command is used to start FTP in CL Language (ILECL)....can u plz tell me which command is used to start SFTP in CL language(ILECL)?

1 Answers  


any one have give AS400 study material? pls pass it to gopalsai789@gmail.com

0 Answers   IBM,


Categories