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 |
if i have three programs progA,progB and progC .now i call progB from progA. but the progB does not exist . now i want to call progC instead of starting dump. how can we achieve this.
How can you delete records form a file in rpg without using "Delete" OPCODE?
i have 1000 records in pf.what are all the ways to read a particular name records in rpg?? ie.. in pf i have a name called demo appeared around 52 times hw will we read this particular records in rpg/400?.
What is the compilation option that has to he specified while compiling an RPC program which uses a file having date data type field?
how to run only 10 modules of existing N modules in service program in RPGILE ?
Suppose you have 3 members in a database file. How to read records from all the members without using CL (OVRDBF) i.e. Entire process should be handled exclusively in a RPG program?
How to get only unique records from a file which contains duplicate data using CPYF command ? Example : FILEA has duplicate records and FILEB is a UNIQUE defined.... and I want to get the data from FILEA to FILEB by eliminating all the duplicate records...
How to create a key field for a logical file inside RPG?
What is the difference Return and InLr?
We have job which is running as batch. It takes atleast 06 hours to complete tht job. But I wanna do tht job with in 3 hours?
Thanks gagan for your answer,i'm new to as400,i don't know embedded sql in rpg.can you send me the coding for the below mentioned question in embedded sql rpg. how to retrieve particular field records from a physical file,say i have a physical file called 'employee' in it i have to retrieve the records of a field 'admin' present in pf 'employee' using rpg,but i should not use logical file or openquery file.
How to call one program from another program in RPG? please help me with the code