Extracting filepool info from CP directory Arthur Ecock CUNY http://www.cuny.edu/ Contributed by: Arthur Ecock CUNY/CIS (212) 541-0956 eckcu@cunyvm.cuny.edu At CUNYVM, we have implemented SFS servers for most of our staff and student population. In an effort to maintain control over filepool names, and whose data goes on what file server, we have cautioned our users NOT to hardcode filepool names in EXECs. SFSPOOL and Diagnose x'0120' (CNYQFP) are designed to extract the default FILEPOOL information from the specified userid's CP Directory entry (from the IPL statement). It seemed like a good idea, and it was all rather easy to implement, but the project was placed on hold for a little while. Thus, this code HAS NOT BEEN THOROUGHLY TESTED. Use at your own risk, blah blah, blah. CP Diagnose x'0120': To assemble: VMFHLASM CNYQFP HCPVM Rename the text deck to something like CNYQFP TEXT, place this file on a CP Accessed PARM disk, make sure CP re-Accesses this disk, then issue the CP commands found in CNYQFP CONFIG. The commands in CNYQFP CONFIG may optionally be placed in your SYSTEM CONFIG file to have this command automatically installed at CP IPL time. CMS CSL routine: To Assemble: VMFHLASM SFSPOOL DMSVM To generate: CSLGEN DASD SFSPOOL FROM SFSPOOL SFSGET EXEC is a sample REXX EXEC that uses SFSPOOL.