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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

what is a query can be run in which mode?

1319


if dspatr(pc) and csrloc were specified for a format, which keyword would have priority?

1688


how do you read data area in an rpg program?

1833


can you specify a display file to be used in the following modes input,output, or combined modes ?

1567


what does defn do?

1094


what is a logical file?

1826


What Does 'sr' In Columns 7-8 Of C Specs Mean?

1750


what is message subfile?

1754


what does the ovrdbf command do?

1128


where will control be passed after the execution of the *pssr subroutine if the factor2 of the endsr is blank ?

1844


How can we arrange duplicate records in a file?

1090


define subsystem?

1639


maximum number of subfiles that can be active for a single file is?

1703


how can I give more performance to some selected pages?

1039


how to write code for singlepage in sqlrpgle with update ?

2829