Hi,
I want to invoke IEBCOPY through a REXX program. I would like to know if
there is a way to obtain the SYSIN control statements through a
variable/Queue?
My rexx program has something like :
"ALLOC FI(SYSUT1) DA('"inputdsn"')"
"ALLOC FI(SYSUT2) DA('"outdsn"')"
"ALLOC FI(SYSPRINT) DUMMY"
"CALL 'SYS1.LINKLIB(IEBCOPY)'"
I know if I code "ALLOC FI(SYSIN) DUMMY" it would generate a default SYSIN
statement. However, I want to copy only selected members from 'inputdsn'
to 'outputdsn', so the default SYSIN statement wont serve my purpose.
The other option that I know would be to temporarily allocate a dataset,
EXECIO the control statements I need to that dataset and then delete the
temporary dataset after the call to IEBCOPY. However, I was just wondering
if I can 'pick-up' SYSIN control statements from a variable/queue?
TIA
Varun
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery. NOTE: Regardless of content, this e-mail shall not operate to
bind CSC to any order or other contract unless pursuant to explicit
written agreement or government initiative expressly permitting the use of
e-mail for such purpose.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html