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

Answers were Sorted based on User's Feedback



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

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

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

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

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

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

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

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

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

Answer / gatla

PF::A R RCD
A NAME 9A ALIAS(YOUR)
A AGE 2P COLHDG('IN YEARS')


OUTPUT: 000001 KARU 57
000002 LAV 24
000003 MAI 24

I THINK NOW YOU HAVE CLEAR IDEA.... RIGHT...

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More DB400 Interview Questions

how can we write LF using flatfile.

9 Answers  


what is the purpus of the chain and setll and setgt ?

2 Answers   Four soft,


how to see number of logical files depending on a pf?...can we declare more than 20 logical files from a single pf? is it possible

4 Answers   ocbc,


what is open data path? and what is the diff b/w access path and open data path?

3 Answers   Cap Gemini,


Last statement of any rpg program is lr?

0 Answers  






what is open data base command

1 Answers   Active Brains, Cognizant, CSC, CTS,


what is the intractive job? what is the batch job ? how to change the batch job to interactive job?

2 Answers   Four soft,


how to add a new field to a file without compiling it?

1 Answers  


what is general and type of general

1 Answers   Active Brains,


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

3 Answers  


hi iam very new to as400. i had created one physical file can any one tell command to enter data in to that

9 Answers   Encore,


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

0 Answers  


Categories