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...


can we concate fileds in physical file? If yes how can we
do?

Answers were Sorted based on User's Feedback



can we concate fileds in physical file? If yes how can we do?..

Answer / kumar vikas

No, we cannot concat fields in Physical File. However, in
logical file, we can concat 2 or more fields together into 1
field. format is..

name concat(fname mname lname)

Is This Answer Correct ?    31 Yes 0 No

can we concate fileds in physical file? If yes how can we do?..

Answer / ramreddy

NO,CONCAT IS USED LF ONLY.WE CAN;T USE PF.

Is This Answer Correct ?    14 Yes 0 No

can we concate fileds in physical file? If yes how can we do?..

Answer / kumar vikas

Hello Radha,

wat u r explaining here is a LF... the question was for a PF if fields can be concatenated in a PF. Ur answer is correct but for PF, fields cannot b concatenated.

Is This Answer Correct ?    5 Yes 0 No

can we concate fileds in physical file? If yes how can we do?..

Answer / radha sammangi

00010A R RECORD2 PFILE(PF1)
00020A DATE CONCAT(MTH DAY YEAR)
00030A MTH
00040A DAY
00050A YEAR


Radha

Is This Answer Correct ?    4 Yes 4 No

can we concate fileds in physical file? If yes how can we do?..

Answer / karu

no...concatenation  of two/more fields in pf not possible...


  if you want to do it...it can be possible  with the help of  lf(logical file)



example: eid   concat(jdate name dept)

here eid created with
3 other fields:
they are
joining date and
name
and dept...

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More DB400 Interview Questions

what is the difference between adding keys & constraints into a phisical file

4 Answers   HSBC,


I have a pf, it contains 5 members, how to access particular member data from logical file?

0 Answers  


CRTDTA AND CRTARA should be used along with?

2 Answers  


When we use any keyword like FIFO,LIFO, at file level but whenever we check by runqry we couldn't find answer in FIFO,LIFO,FCFO etc so how we check the answer.

2 Answers  


There are six records in a file and we are going to update that records and used commit operation when it complete the update but suppose when it updating the third record,a error occured and operation failed.Is previously two records will be update or whole operation will be rollback? Please confirm it.

2 Answers  


what is exception and how many types of exception

1 Answers   Active Brains,


What is the purpose of the chain and setll and setgt?

0 Answers  


There is one string as A B C and wanted to display string as Shri A Shri B Shri C, how we can do this in sql? If we have around 100 values in string like this, each value should be displayed with initials as Shri.

0 Answers  


What is open data path? And what is the difference between access path and open data path?

1 Answers  


Last statement of any RPG pgm is LR?

5 Answers  


Where the QTEMP library will get created? if the the answer is QSYS, then howcome more than one job can create same library name(QTEMP) in QSYS? what is the uniqueness of QTEMP? For example, run the below command in different workstation WRKOBJ QSYS/QTEMP And take 8 in the option to check the description. both will have different info. so where(which LIB) exactly the QTEMP is stored?

2 Answers  


How many maximum record format a logical file have?

0 Answers  


Categories