Many thanks, Alan,
For sure I will tray your hints, when I am back in office ( I am not in
office now because of sickness, but I can check my mails).
br Leopold
On 22.11.2015 21:06, Alan Young wrote:
Leopold Strauss wrote:
Hi, all
I simply wanted to automize the receiving of a lot of XMIT-files in
zOS-unix-shell ( not TSO)
Last but not least my problem could be broken down to following
terminal-input-problem with the RECEIVE-command:
rexx-script:
parse arg indsn outdsn
address tso "PROFILE PROMPT"
queue "DATASET('"outdsn"')"
queue "END"
address tso "RECEIVE INDATASET('"indsn"')"
Result:
MV21:/u/leoplds$ receive.sh 'LEOPLDS.TEST.XMIT' 'LEOPLDS.TEST.TEST'
INMR901I Dataset SYSC.DOCEXEC.V717.LOADLIB from CHR9255 on ESJES2
INMR154I The incoming data set is a 'PROGRAM LIBRARY'.
INMR906A Enter restore parameters or 'DELETE' or 'END' +
INMR908A The input file attributes are: DSORG=PARTITIONED, RECFM=U,
BLKSIZE=32760, LRECL=32756, File size=X'0005C3EE'K bytes +
INMR909A You may enter DSNAME, SPACE, UNIT, VOL, OLD/NEW, or
RESTORE/COPY/DELETE/END
INMR800I The RECEIVE command failed. The PUTGET service routine
issued return code 16.
I googled a lot, read manuals, but I did not find any working sample,
which I could use.
appreciating all hints and br
A couple of thoughts...
Does adding
call rexxopt 'NOTSOIN'
before the address tso statement make a difference?
Try adding a
queue ""
after the queue "END" statement to mark the end of the queue.
Alan
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
--
Mit freundlichen Gruessen / Kind Regards,
Leopold Strauss, Team DEV-zOS, T: +43-2236-27551-331
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN