WHAT IS THE DIFFERENCE BETWEEN 'COLHDG' AND 'ALIAS'?
Answers were Sorted based on User's Feedback
Answer / afnas
Both(COLHDG & ALIAS) are used to identify fields.COLHDG &
ALIAS is the Description of fileds.the diference is that in
ALIAS we can access data based on that ALIAS name,while
COLHDG is not allowed.suppose in PF field name as
DES78,give ALIAS as Description78,then user can access data
from using Description78.
| Is This Answer Correct ? | 23 Yes | 0 No |
Answer / nupur
Allias is an alternate name for the field in PF. We can
access data with the new name. while colhdg is just a text
management which is visible at a time of query, SDA, DFU,
etc.
| Is This Answer Correct ? | 9 Yes | 0 No |
Answer / suju
using ALIAS name we can access the data,but we cannot
access the data using COLHDG.maximum number of COLHDG for a
particular field is 3.
| Is This Answer Correct ? | 11 Yes | 3 No |
Answer / viney
both give a meaning 2 d fld..while colhdg just gives a
heading to d fiels name represented in quotes.......alias
gives an alternate name 2 d field...this name given in
alias can also be used 2 search d variable...if required
| Is This Answer Correct ? | 1 Yes | 0 No |
How to index LF by relative record no (RRN)
I have a PF with out any data but the dependent LF is having data?
How we can't update join logical files?
wirte a simple program for read file in cl
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 ?
How can we know that a trigger has been added on a PF? and what is the purpose of adding a trigger?
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?
How many libraries can be there in a library list?
A pf containing 100 records... my query is how to display from 11th record in the pf?
Last statement of any RPG pgm is LR?
How to add a field to a PF and compile it without loss of data?
can we concate fileds in physical file? If yes how can we do?