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

why we do STRSRVJOB in batch debugging in as400

1 Answers  


1)how to do date validation in rpg? 2)how to delete dUPLICATE RECORDS?

12 Answers   IBM, Opus,


Set on command is used for closed all opened files , initialize var and release resource , return cmd is used for return to calling program but my req. Is dnt close opened files and resource must released while doing transactions , how can i do this...?

0 Answers  


what is edit word and edit code

0 Answers   Cap Gemini,


i 'm new to as/400.in an interview i was asked this question.give a practical example for passing information or data through local data area. I know only that data area is an object used to store tiny bits of data or it can store one value at a time and it is used to store frequently changing values or datas.thats all i know about data area can any one tell me how local data area and user defined data area are used to pass data between jobs with a example or coding.thanks in advance.

2 Answers   CTS,






We have a Physical file, after reading 5 records,it has to read LF of that same Physical file,Will it start reading from Ist record or will start reading from 5th record?

5 Answers   Hexaware,


When PGMA calls PGMB for the first time PGMB executes the *INZSR. PGMB uses the RETRN operation to return to PGMA. When PGMA call PGMB the second time is the *INZSR executed?

5 Answers   Mphasis,


If record-format name in an externally-described file has already been defined as a file-name.how to solve this?

2 Answers   CTS,


i want to perform uniqness on db file bt my db file nt hving key by useing rpgle.

3 Answers   HSBC,


How can we override a file during runtime in RPG? Without using OVRDBF or calling a CL program

1 Answers   UST,


What are the necessary keywords required to code a message subfile?

3 Answers  


How can we call CL program to RPG? How many number of parameter we can pass

2 Answers   TCS,


Categories