WHAT IS THE DIFFERENCE BETWEEN 'COLHDG' AND 'ALIAS'?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to read a pf in reverse(from last record to first) using cl?

605


What is the use of member in pf?

541


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

531


What is the batch job?

574


How to retrieve a physical file after deleting that?

588






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?

651


What is open data path?

583


What is the interactive job? What is the batch job? How to change the batch job to interactive job?

631


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

598


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?

7454


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

592


How to index LF by relative record no (RRN)

2833


Suppose 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?

639


What is FORMAT keyword and its use?

209


What is the interactive job? What is the batch job?

588