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

Limitation of REXX in accesing datasets


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
skrishnavijay

New User


Joined: 26 Sep 2007
Posts: 25
Location: chennai

PostPosted: Thu Oct 11, 2007 12:27 pm
Reply with quote

Could you clarify the following plz ?

1. Is it possible to create(or copy) a tape dataset using REXX ?

2. When I was trying to read a seq. file with 90000 records(LRECL 147)
the below msg populated

EXECIO error. Unable to obtain storage.

What is execio limit in REXX ?

Krishna
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu Oct 11, 2007 2:07 pm
Reply with quote

answers:

1) yes

2) the DISKR with a * count
is limited only by the amount of memory available

but a curiosity..
why use rexx to copy?
for copy operations with simple transformations there are
other tools available and more performing ( sort for example )
Back to top
View user's profile Send private message
skrishnavijay

New User


Joined: 26 Sep 2007
Posts: 25
Location: chennai

PostPosted: Thu Oct 11, 2007 3:29 pm
Reply with quote

Hi enrico,

Thanks for ur reply.

for the 1st Q, (1. Is it possible to create(or copy) a tape dataset using REXX ?), could you plz give me REXX code for creating a Tape file LIKE an existing Tape file ?

As u mentioned I used IEBGENER for copy.

Thanks in advance,
Krishna
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu Oct 11, 2007 4:09 pm
Reply with quote

in the MVS environment
device indepence is the basic postulate of data management

for PS datasets processing using QSAM
( queued sequential access method )
the program is never concerned about the dataset placement
everything is specified thru JCL

to read and write given enough memory to hold all the lines
just two statements are needed
( just the barebones )
Code:

EXECIO * DISKR inputdatasedd (FINIS STEM records. 
count = record.0
EXECIO count DISKW outputdatasedd (FINIS STEM records. 


You do not need to be concerned about the device
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Sat Oct 13, 2007 3:05 pm
Reply with quote

I would say that IEBGENER would be a far more efficient way of performing the copy rather than by using REXX.
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 -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts Compile Several JCL JOB Through one r... CLIST & REXX 4
No new posts Running REXX through JOB CLIST & REXX 13
No new posts Error to read log with rexx CLIST & REXX 11
No new posts isfline didnt work in rexx at z/OS ve... CLIST & REXX 7
No new posts run rexx code with jcl CLIST & REXX 15
Search our Forums:

Back to Top