Paul,
Batch works fine because of the sysin DD:
//SYSIN DD *
COPY INDD=MYDD1,OUTDD=MYDD2
SELECT MEMBER=(mem1,mem2,mem3)/ EXCLUDE member=(sf,df,sa)
/*
Just can't get the SELECT to take as a second line in REXX. The first line
works great!
Thank you, Dave
Dave Hansen
Eagan Software Systems Branch
651-406-1208
[email protected]
-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of
Paul Gilmartin
Sent: Wednesday, February 15, 2012 2:56 PM
To: [email protected]
Subject: Re: REXX IEBCOPY Continuation?
On Wed, 15 Feb 2012 12:41:17 -0800, Scott Ford wrote:
Usually you need to queue a null line as the last line in the stack..
The count ("queued()") should make that unnecessary.
________________________________
From: "Hansen, Dave L - Eagan, MN"
To: [email protected]
Sent: Wednesday, February 15, 2012 3:33 PM
Subject: Re: REXX IEBCOPY Continuation?
Still no luck:
FCO105I COPY1 COPY INDD=INDD1,OUTDD=OUTDD1 FCO105I SELECT MEMBER=DBOK62 FCO411A
UNIDENTIFIED COMMAND OR KEYWORD
Most utility commands must start in column 2 or later.
Is IEBCOPY different?
When all else fails, try the command file in a batch job. Is the result
different?
"NEWSTACK"
V1 = "COPY1 COPY INDD=INDD1,OUTDD=OUTDD1"
V2 = "SELECT MEMBER=DBOK62"
V3 = "SELECT MEMBER=DP13"
V4 = "SELECT MEMBER=LAND1CPY"
V5 = "SELECT MEMBER=SSTDN"
V6 = "SELECT MEMBER=TRAY2LND"
QUEUE V1
QUEUE V2
QUEUE V3
QUEUE V4
QUEUE V5
QUEUE V6
"EXECIO" queued() "DISKW SYSIN (FINIS"
"DELSTACK"
"TSOEXEC IEBCOPY"
-- gil
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to
[email protected] with the message: INFO IBM-MAIN
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN