PMS Information Systems
Welcome to PMS Information Systems - IBM i (AS/400) Forum !!!

Get Answers for all your queries on IBM i (AS/400).

REF Vs REFFLD

View previous topic View next topic Go down

REF Vs REFFLD

Post  maran on Mon Jul 27, 2009 7:28 pm

1) What are the differences?

2) REF / REFFLD fields attributes are changed after these keyword using files have been compiled using old attributes.
Consider this condition:
File which has REF / REFFLD will have old attr or new attr or will error occur when the file is used in the programs
avatar
maran
Admin

Posts : 442
Join date : 2009-07-24

View user profile http://pmsinformationsystem.forumotion.net

Back to top Go down

Re: REF Vs REFFLD

Post  maran on Mon Jul 27, 2009 7:29 pm

REF: 1)File level Keyword.
2)Gives field descriptions from already defined Record format.
3)specify REF keyword with filename only once in the file.

REFFLD:
1)Field level keyword.
2)Gives field descriptions which are different from the referenced file
3)specify REFFLD For each field description which are different from the referenced file


I think it will have new attributes when used in programs.
_________________
Regards,
Vanitha.
avatar
maran
Admin

Posts : 442
Join date : 2009-07-24

View user profile http://pmsinformationsystem.forumotion.net

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum