What is the benefit of using Externally Described files
over Internally
Described?

Answer Posted / nazi

1. the reusuabaility increases in case of externally
defined files as these can be defined and used in many
programs.

2. a change in the structure of the externally defined file
only causes only the reconpilation of the programs using it
and no other major code change.

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how can a message from a message file appear as a constant on the screen?

1090


how can u check no of records in a file?

768


define data structure?

1185


what is the maximum number of parameters allowed in rpg?

1178


Hello, I have created a CMD type object. In one of the fields in Display file , I would like to see All the Source files present by pass the name of Library. Tried using CHoice(Keyword) and Choicepgm on PARM , but doesn't seems to be working. Any help please..

1878






what key word is used when screen is re-display?

735


how to write code for singlepage in sqlrpgle with update ?

2476


What is the difference between iter and do? We know both are used to execute set of statements repeatedly, but what is the main difference?

647


Space & Skip Are Which Level Keywords?

842


which single rpg opcode performs both setll and reade?

1255


What is file information data structure(infds) in as400?

1081


what is the function of crtdupobj command?

1331


Service Program : S1 Modules in S1 : M1 M1 having two procedures : ADD, SUB Current Binder Language STRPGMEXP PGMLVL(*CURRENT) EXPORT SYMBOL("ADD") EXPORT SYMBOL("SUB") ENDPGMEXP Doubt: I need to add one new Module to the Service Program M2 having one procedure ‘MULT’ How to add this new module to the service program S1 ? If I need to recreate the service program again, Do I need to mention the Module M1 again while recreating along with new Module M2? There is no Binding Directory. Binder language structure will be like this STRPGMEXP PGMLVL(*CURRENT) EXPORT SYMBOL("ADD") EXPORT SYMBOL("SUB") EXPORT SYMBOL("MULT") ENDPGMEXP STRPGMEXP PGMLVL(*PREVIOUS) EXPORT SYMBOL("ADD") EXPORT SYMBOL("SUB") ENDPGMEXP

2027


Hi,Can any body give the code for the below mentioned quetion.?Im trying to get coding in with easily inderstanding.Plese give me the coding for this? 1.How would you achieve this requirement with out using RPG/RPGLE pgm,but by using only CL?Read a database file and display file contents on the screen when enter key pressed the next record should be displayed on screen.When the last record is reached or when F3 key is pressed the program should exit if the file is empty,a message should be displayed indicate that there are no records to display. Database file Name=EMPDBF Fields in EMPDBF to be displayed on screen Employee Number- EMPNUM(5,0) Employee Name- EMPNAM(30,A) Employee Address-EMP ADDR(50 A)

1846


what is a composite key?

1173