View previous topic :: View next topic
|
Author |
Message |
gokuldass
New User
Joined: 18 Mar 2005 Posts: 48 Location: india
|
|
|
|
Hello Guys,
I know only two macro record formats for a flat file to access the records.
1. Put macro & 2. Get macro. Is there any other macro commands to access the records from the files. If so, please let me know with the syntax.
Also, Is there any possible way to get the address of record without using the get & put macro since this two is using a internal variable to access the record.
I once read about move macro to get the address of the record? if any one know about this macro please explain it with an sample..
Thanks in advance.
Regards,
Gokuldass |
|
Back to top |
|
|
UmeySan
Active Member
Joined: 22 Aug 2006 Posts: 771 Location: Germany
|
|
|
|
Hi !
You can read a record of a file by issuing the get macro with the GL
(GetLocate) function. Then you have the adress of the record in register-1.
When you code GET FILE,INBER , you usin GM(GetMove) format
Tu use GL just code GET FILE.
In the DCB you have to specify the MACRF funktion GL
Regards, UmeySan |
|
Back to top |
|
|
|