View previous topic :: View next topic
|
Author |
Message |
skrishnavijay
New User
Joined: 26 Sep 2007 Posts: 25 Location: chennai
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
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 |
|
|
skrishnavijay
New User
Joined: 26 Sep 2007 Posts: 25 Location: chennai
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
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 |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
I would say that IEBGENER would be a far more efficient way of performing the copy rather than by using REXX. |
|
Back to top |
|
|
|