IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to get address of a record from a file using assembler?


IBM Mainframe Forums -> PL/I & Assembler
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
gokuldass

New User


Joined: 18 Mar 2005
Posts: 48
Location: india

PostPosted: Mon Sep 18, 2006 4:52 pm
Reply with quote

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
View user's profile Send private message
UmeySan

Active Member


Joined: 22 Aug 2006
Posts: 771
Location: Germany

PostPosted: Mon Sep 18, 2006 5:09 pm
Reply with quote

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
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> PL/I & Assembler

 


Similar Topics
Topic Forum Replies
No new posts FileAid move data from two files to o... Compuware & Other Tools 5
No new posts Sorting date into YYYYMMDD, and creat... DFSORT/ICETOOL 13
No new posts To Discard record with 0 entry if Dup... SYNCSORT 7
No new posts To Sort detail records in a file with... SYNCSORT 5
No new posts Methodic way to address cryptic alloc... ABENDS & Debugging 2
Search our Forums:


Back to Top