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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> PL/I & Assembler

 


Similar Topics
Topic Forum Replies
No new posts isfline didnt work in rexx at z/OS ve... CLIST & REXX 7
No new posts Write line by line from two files DFSORT/ICETOOL 7
No new posts Compare only first records of the fil... SYNCSORT 7
No new posts Merge two VSAM KSDS files into third ... JCL & VSAM 6
No new posts Joinkeys - 5 output files DFSORT/ICETOOL 7
Search our Forums:

Back to Top