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

How people work in assembler files


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

New User


Joined: 21 Jul 2006
Posts: 1
Location: CHENNAI

PostPosted: Wed Jul 26, 2006 8:29 am
Reply with quote

I want to know how people work in assembler files.
Back to top
View user's profile Send private message
kamalakark

New User


Joined: 05 Sep 2006
Posts: 1
Location: Dubai

PostPosted: Thu Sep 07, 2006 9:15 am
Reply with quote

Using macros Open (file name),mode
Get filename
Close filename

DCB for the filename has to be defined with in the program.

Here is the example below listed

JCL
//F13222I DD DSN=USER.USRTBL.TABLE(TBLNAME),DISP=SHR

Assembler program

OPEN (F13222I)
GET F13222I
.
.
CLOSE (F13222I)

F13222I DCB DDNAME=F13222I,DSORG=PS,MACRF=(GL),EODAD=E0FIP
Where EOFIP will be executed once the End Of File reaches

Let me know if you need anymore.


Rgds,
Kamal
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 INPFIL FILES, FNAMES examples SYNCSORT 7
No new posts FileAid move data from two files to o... Compuware & Other Tools 5
No new posts JCL to merge two files side by side DFSORT/ICETOOL 3
No new posts Create a specific record/file based o... SYNCSORT 8
No new posts 3 files concatenated to 1 DFSORT/ICETOOL 2
Search our Forums:


Back to Top