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

Can we concatenate fields in physical file? If yes how can we do?

1 Answers  


How to know the perticular record in pf with out reading?

2 Answers   Cap Gemini,


How can we handle errors in RPG?

4 Answers  


How to update physical file using logical file with example?

1 Answers  


what is dynslt and why we use that command when do we use command

2 Answers   Active Brains, UHG,


How to insert more than one record to a pf at a time?(Bulk insert to a pf)

9 Answers  


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

1 Answers  


what is exception and how many types of exception

1 Answers   Active Brains,


Last statement of any RPG pgm is LR?

5 Answers  


What is the interactive job?

1 Answers  


How can i retrieve city while my i have one field address length 60 but i don't know what where is city in this field ?

4 Answers  


Suppose if a physical file is having 1000 records, but i deleted 500 records from it. Here the concern is can the size of the file changes or it remains the same... kindly help me out with thorough xplanation.... Thanks in-advance...

6 Answers   ABC, TCS,


Categories