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
how can a message from a message file appear as a constant on the screen?
how can u check no of records in a file?
define data structure?
what is the maximum number of parameters allowed in rpg?
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..
what key word is used when screen is re-display?
how to write code for singlepage in sqlrpgle with update ?
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?
Space & Skip Are Which Level Keywords?
which single rpg opcode performs both setll and reade?
What is file information data structure(infds) in as400?
what is the function of crtdupobj command?
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
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)
what is a composite key?