Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


List the steps/commands necessary to accomplish the following:

a. Copy data from the file ORDHDR into file ORDHIST
b. The file ORDHIST may or may not exist
c. If the file ORDHDR does exist, it may or may not contain data
d. The file ORDHIST may or may not contain data, if the file does contain data the old data should be erased



List the steps/commands necessary to accomplish the following: a. Copy data from the file ORDHDR ..

Answer / supranshu saurabh vir singh

Commands: a. CPYF FILE(ORDHDR)
TOFILE(ORDHIST)
b. CPYF FILE (ORDHDR)
TOFILE (ORDHIST) CRTFILE (*YES)
c. CPYF FILE (ORDHDR) TOFILE (ORDHIST) *ADD
d. CPYF FILE (ORDHDR) TOFILE (ORDHIST) *REPLACE

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More IBM AS400 AllOther Interview Questions

what would be the effect on the field where reverse image, underline and highlight display attributes were active?

1 Answers   IBM,


1.What is the difference between regular join logical file and non join logical file? 2.what are the nessasary keywords for non join logical file

3 Answers   ANZ,


what is the maximum number of parameters allowed in clp?

2 Answers   IBM,


http default port 80 is used by some other production http service. How can I create an http instance on another port to run cgidev2 and my future cgi developments?

0 Answers   IBM,


How to read data from *LDA (Local Data Area) in RPGLE program without using IN opcode?

1 Answers  


what are members?

0 Answers   IBM,


How to see all record formats used in a file?

1 Answers  


What Does Lokup Does In Tables & Arrays?

0 Answers   IBM,


how to validate input values in display file ?

0 Answers   IBM,


Job is running in production 24/7 how do u debug that running job ?

1 Answers   Wipro,


what is logical file?

0 Answers   IBM,


how to toggle between single line and multi - line display of a particular record in a subfile?

1 Answers   IBM,


Categories