A file sent this way will appear without spool filename/filetype in RDRLIST. If you've got my FILELIST modifs from the VM download library, you can enter "Rename" in front of such files in RDRLIST and the spool filename/filetype will be set to the original CMS fn/ft (on condition NETDATA/DISK DUMP/PUNCH(HEADER was used).
At the other hand: since CP recognizes dynamically added disks, it is easy to make your secondlevel guest LINK to the first level MDISK. And, if you install CPHOST from the VM download lib, a CLASS A user can do CP CP1 LINK somefirstlvluser 191 199 RR <password?> CP ATTACH 199 * 199 R/O ACC 199 Z 2009/12/18 Perry Ruiter <prui...@ca.ibm.com> > > Bob - here's the set up I use on my test system: > > SYSTEM CONFIG has this one line added: > RDEVice 000C Type Reader > > and I use this EXEC to send files to it: > /* > * Send a file to my second level ViCom system > */ > > address command > > arg fn ft fm . > if fm = '' then fm = '*' > > 'STATE' fn ft fm > if rc = 0 then do > 'CP SPOOL PUNCH PRUITER2 CONT' > 'PIPE literal ID PRUITER NAME' fn ft'| punch' > 'NETDATA SEND' fn ft fm 'TO PRUITER AT PERRY (NOSPOOL' > 'CP SPOOL PUNCH CLOSE NOCONT' > end; else > say 'File' fn ft fm 'not found' > > exit > > That exec ensures the file has a name in queries and the netdata headers > are set up so receive, rdrlist, etc. work as expected. Adjust the userids, > nodes as for your use (PRUITER2 is the first level userid running CP, > PRUITER is the userid on the second level system to receive the file and > PERRY is the second level system's node name). > IPL CP with the reader empty, send a file, CP START 00C on your second > level OPERATOR and the reader will continue to read files as they arrive for > the life of the IPL ... Perry > > Perry Ruiter > 250-658-6517 -- Kris Buelens, IBM Belgium, VM customer support