Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Limitation of REXX in accesing datasets

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
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    Post subject: Limitation of REXX in accesing datasets
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10274
Location: italy

PostPosted: Thu Oct 11, 2007 2:07 pm    Post subject: Reply to: Limitation of REXX in accesing Files (datasets)
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    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10274
Location: italy

PostPosted: Thu Oct 11, 2007 4:09 pm    Post subject: Reply to: Limitation of REXX in accesing Files (datasets)
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: 8593
Location: Back in jolly old England

PostPosted: Sat Oct 13, 2007 3:05 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts REXX to get the all datasets name parasmalik20 CLIST & REXX 5 Tue Jul 18, 2017 9:10 pm
No new posts How system know which REXX to excute? jackzhang75 CLIST & REXX 14 Thu Jul 06, 2017 1:09 am
No new posts REXX - Dynamic file Creation d_sarlie CLIST & REXX 7 Tue Jun 27, 2017 7:30 pm
No new posts REXX WTO for console message bipinpeter CLIST & REXX 6 Tue Jun 27, 2017 3:56 pm
No new posts Convert CLIST to REXX cvnlynn CLIST & REXX 12 Tue Jun 27, 2017 2:06 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us