Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 10327
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: 10327
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 How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 5 Wed Oct 04, 2017 6:54 am
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 47 Fri Sep 29, 2017 1:08 pm
No new posts ejck thru rexx to multiple jobs insid... Susanta All Other Mainframe Topics 5 Tue Sep 19, 2017 1:39 pm
This topic is locked: you cannot edit posts or make replies. Extract all "IF" Statements... Adarsh Damodaran CLIST & REXX 1 Wed Sep 06, 2017 9:28 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us