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
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 |
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 |
How to handle duplicate error handling in RPG?
How do you find whether a record is locked or not?
Q:Hi all,i want accurate answer with code using in built functions.please sent me code as soon as posible. I have program nmed PGM1 which '' RETRIEVE Current production date''should correctly default the production date for the user who is issuing raw materials to the manufacturing.The production date can be different from the celendra date. However, the program does not make the correct adjustment for all manufacturing plants. there is a parameter which determines the production start time e.g. 07:00 if the system time precedes this,the program subtracts one from the celendra day.This work fine when the celendar day starts after production day as it does in England,the system should be adding one to the celendar day during the overlap. unfortunately the program was desined to assumed the celendar day always starts before the production day. Change required in the program: Change the PROGRAM PGM1 to use the new parrameter to decide whether to add or subtract 1 from the celendar day when determining the production date.
Suppose in CL we reach at end of file and again we have to reach from 1 record
Anybody know the difference of primary file and full procedural file
How many program bind in one module....
Can more than one subfile record be displayed on one line?
how can we find setll setgt chain read reade readp operations are successfull or not,give example.explain in detail.
How can you delete records form a file in rpg without using "Delete" OPCODE?
Why did we give STRSRVJOB while debugging batch program
How to define data area in RPG program? In which scenario multi occurrence DS is use in AS400?
difference between CHAIN and READE?