can we concate fileds in physical file? If yes how can we
do?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
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 |
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.
I have physical file with 100 records,there is no any duplicate records in this pf.based on this pf one logical file I have used.but this lf is viewing only 80 records only of that pf?what is the reason for this?
wirte a simple program for read file in cl
I have a PF with out any data but the dependent LF is having data?
Hi, Please give the answer to this question? I have Phisical file with 100 records,there is no any duplicate records in this pf.Based on this pf one Logical file i have used.But this lf is viewing only 80 records only of that pf?What is the reason for this?Please give me answer?
what is dynslt and why we use that command when do we use command
what is the purpus of the chain and setll and setgt ?
CRTDTA AND CRTARA should be used along with?
can we concate fileds in physical file? If yes how can we do?
How to know the particular record in pf with out reading?
i have a PF,it contains 5 members,how to access particular member data from logical file ?and what is the use of member in PF
How to add a field to a PF and compile it without loss of data?