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 |
What is the length of Signature?
Im traying to get out put of this below mention simple logic code.But im geting out of different.(im trying with my laptop trhough my company server. DCL &FIELD1 *CHAR 10 VALUE('TCS AS/400') DCL &FIELD2 *CHAR 10 CHGVAR(%SST(&FIELD2 1 10))(%SST(&FIELD1 10 1) Can you tell me the value of field2 after excuted of CHGVAR command.
what are the parameters of jobd?give in detail.&what are the parameters of subsystem...????
Some times While checking MSGW for object / member / record locks ,I have seen it's locked by itself ...? How it happen and what action we need to perform if job is updating / writing a record....?
What is significance of a file designated as a Primary file in Rpg400 program....also what's use of secoundry file
What is the difference between iter and do?
If the last record of a file has been read, and the next operation on that file is a READ operation, what will be the values of the input fields for that file? A. They will be blank and/or zero. B. They will be null. C. They will equal the values of the first record in the file. D. They will equal the values of the last record read.
There is a excel sheet having details of Old account number and new account number. I need to update these details in my AS400 files. i.e. all the records having old account number should be replaced with new account number. There can be 100 or 200 or 300 PFs...no fix files known. how can we do this?Solution should be performance oriented
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.
can you debug ile rpg program using isdb?
How to set on/off a group of indicators in a single statement?
You have a *USE authority on a Library and *All authority on a file in that Library.Can you change the data in that file?