how we create binder member for updating service program and
where we type this code on command line or in program ?
strpgmexp pgmlvl(*current)
export symbol (xyz0
endpgmexp.
plz explain me this step by step .

Answers were Sorted based on User's Feedback



how we create binder member for updating service program and where we type this code on command li..

Answer / s. kumar

We write a program Of Source Type BND and write the code
inside it like..

strpgmexp pgmlvl(*current)
export symbol (xyz0)
endpgmexp.


Suppose later date you want to add another procedure say
(xyz1),you can do by
strpgmexp pgmlvl(*current)
export symbol (xyz0)
export symbol (xyz1)
endpgmexp.

strpgmexp pgmlvl(*Pre)
export symbol (xyz0)
endpgmexp.

In this way, we don't need to compile the other programs
which are using this service program cause this binder
contains both types of Signature Current as well as
Previous.




Thanks!!

Is This Answer Correct ?    11 Yes 0 No

how we create binder member for updating service program and where we type this code on command li..

Answer / prasanth

I assume instead of using *Current and *Previous, u can go
for Hard coded signatures, Think of a situation that u r
service program had 100 modules/ procedures which are all
included in Binder language.

Is This Answer Correct ?    0 Yes 4 No

Post New Answer

More RPG400 Interview Questions

A rpg or clp command to find if the file field is defined as a character or numeric field.

1 Answers   IBM,


Hi Viewers can any body explain me how to update and ahange the already existed data in physical file using subfile ? please explain me with the code if possible?

1 Answers  


what happens when sflsiz = sflpag? What are the advantages and disadvantages?

0 Answers   IBM,


1.How you will find the program is batch or online in cl pgm? 2.How you will end the batch pgm when the job runs? write an logic? 3.In wich command the option *drop is used?

2 Answers   TCS,


I have one cl program which calls two rpg programs named a & b. I am loading a run time array in Pgm A and the control comes back to cl pgm. i call pgmb and I want to read the runtime array in pgmb which was loaded in pgma. How it can be acheived. I should not use any intermediate file or dataarea to store the loaded values.

2 Answers  






What is the difference between ITER and DO ? I know both are used to execute set of statements repeatedly, but what is the main difference?

2 Answers   CGI, Wipro,


How to declare the dynamic(run time) array in rpgle? can you please give example

2 Answers   Polaris,


IN RLU what are the record level keyword is used?

5 Answers   iGate, TCS,


Suppose we add one field in physical file and this physical file is used by several programs.how do we know which program is using that file? What are the impact analysis.

6 Answers  


how to find whether a date format is valid or not in RPG400 not in RPGILE.Can you please write the coding for this sir,i'm new to AS400.Please help.

2 Answers   iGate,


Can a run time array be declare like below with no specified number of elements ? Is it possible ? DFLD_ARRAY 7 DIM() INZ(*blanks) What does this mean ? Does this mean that the number of array elements will be dynamically declared during run time ?

1 Answers   TCS,


write an RPG program to calculate the marks of 5 students (A,B, C, D, E)in 3 different subjects (eng, math, sci) an display on the screen

0 Answers  


Categories