|
[x]
Posted via EE Mobile
|
|
| Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again. |
|
|
|
|
Asked by elauren2 in Programming for iSeries / AS400, COBOL Programming Language, RPG Programming Language
Hello, I am trying to find an easy "Tool" or function to create a variable from the contents of another variable, or do some kind of Indirect reference. I am getting the variable name by using DSPFFD in a CL. I then want to call an RPG or COBOL program that will take the value of the WHFLDE ie "CUSTNO" and get the value from the field CUSTNO in a PF. My goal is to be able to pass any file name into the CL. Any help would be much appreciated.
1:
2:
3:
4:
5:
6:
|
dspffd whflde = "CUSTNO"
PF Custmast
CUSTNO 10A
Cname 20A
Caddr 30A
|
20091021-EE-VQP-81 - Hierarchy / EE_QW_3_20080625