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

how can i retrieve the field name from display file at run time? Devendra Singh Tomar

3 Answers  


I want to declare the number of elements of an array dynamically in RPGLE ? Is it possible? If yes, then how do I do it ?

2 Answers  


Can anybody tell me, does CL/400 handle LEVEL check while running the CL program....? plz share your experience...

4 Answers  


what is decimal data error? when it will come and how to achieve(rectify) this error please give me solution as well as code

2 Answers   IBM,


HI,1: What is the function of 'SETON LR' AND '*INLR=*ON ? 2:Can we used "seton lr" OR "*INLR = *ON" in between the program code ? 3:if yes then according to there function the code which is written acter seton lr/ *inlr should not be execute . Can any one tell me why those code get executed ?

2 Answers  






how to run only 10 modules of existing N modules in service program in RPGILE ?

3 Answers   Wipro,


Hi all friend, Could Any body send me the code (with coding) of this senario because I have tried but I am stucking somewhere so Please reply ASAp with coding. senario:Q: I have to write the flat file(FLAT1) into the three different PFS (PF1,PF2 and PF3) with the respect of H line data, D line data and Z line data of flat file. where I have different data in flat file(FLAT1) which is mentioned below with data. H0929200909282009092820095529420003000073 D2222220006765555webservi001633.9909222009092820090924200951 8564380134049ROSNER TOYOTA OF FREDE FREDERICKSBURVA 224080000USA840840001633.99001633.99851856492689800208001915 511001633.990408490000000.0000000003446048 1,3 110793145 09070700351 372367 Rosner Motors D3333320006774444webservi000271.2409222009092820090924200951 8564380134049ROSNER TOYOTA OF FREDE FREDERICKSBURVA 224080000USA840840000271.24000271.24851856492689800208001835 511000271.240930680000000.0000000003450293 1 110793254 09072100079 373933 Rosner Motors Z0929200900000020001905.25 FLAT1 has the three pf data H line-represents the header pf data,D-Represent Details pf data,Z-Represents the trailer pf data Now I have to write H line data of flat file into Header pf (PF1),D line data of flat into datails pf(PF2) and Z line data of flat file into pf(PF3) with the spefic position(H,D and Z data of flat file into PF1, PF2 and PF3) of flat file.

4 Answers   IBM,


What is the length of Signature?

3 Answers   UST,


can i use unique key in LF

3 Answers   TCS,


how do u track msg in cl pgm???

1 Answers   CTS,


i)What is the command to lock a file in a program ii)2. Can you get a level check error in a CL program

6 Answers  


What is Multi Occurrence Data Structure(MODS)?

1 Answers   CTS,


Categories