View previous topic :: View next topic
|
Author |
Message |
Khwairakpam Raju Singh
New User
Joined: 05 Dec 2007 Posts: 29 Location: Bangalore
|
|
|
|
anybody tell me what's wrong with the following code:
Code: |
externan subroutine:
...
X = OUTTRAP('DUMP.')
"REPRO IFILE(BCAS) OFILE(TSPS) COUNT("N"),
FROMKEY("KEY
X = OUTTRAP('OFF')
"EXECIO * DISKW TSPS(FINIS"
"EXECIO * DISKR TSPS(STEM BCASE. FINIS"
"FREE FI(TSPS)"
"FREE FI(BCAS)"
RETURN
|
here all the records are stored in the coumpound variable 'BCASE.' . But after returning the control to main program the records(element) present in this coumpound variavle 'BCASE' are not accessible. Please suggest me how to solve this problem. Is there any concept of gloval variable....I want to be able to access all the element present in this compound variable...In main program. |
|
Back to top |
|
|
Deru Sudibyo Currently Banned New User
Joined: 30 Nov 2007 Posts: 6 Location: Indonesia
|
|
|
|
Nothing wrong. As what u r thinking, i am planning to add such facility to my freeware (zCBT). At the moment i recommend to use stack instead. |
|
Back to top |
|
|
|