/*--------------------------------rexx---------------------------*/       
/* EXEC to punch fedora install system to reader and IPL from it */       
/* Original file names from the install ISO were:                */       
/*    /images/initrd.img     ->  FED20 INITRD  D                 */       
/*    /images/generic.prm    ->  FED20 PARM    D                 */       
/*    /images/kernel.img     ->  FED20 KERNEL  D                 */       
/*                                                               */       
/* Commands used to prepare the boot files:                      */       
/*   pipe < FED20 INITRD D | fblock 80 0 | > FED20 INITRD D F 80 */       
/*   pipe < FED20 KERNEL D | fblock 80 0 | > FED20 KERNEL D F 80 */       
/*                                                               */       
/* This reblocks the kernel image and init ramdisk to record len */       
/* 80 for use in the VM virtual reader.                          */       
/*                                                               */       
/* If using a tape drive to run the install program, use the     */       
/* above "pipe" command with an lrecl 0f 1024 instead of 80 to   */       
/* prepare the binary files for writing to tape.                 */       
/*---------------------------------------------------------------*/       
'CP SPOOL PUN *'                                                          
'CP CLOSE RDR'                                                            
'PUR RDR ALL'                                                             
'PUN FED20        KERNEL * (NOH'                                          
'PUN FED20        PARM   * (NOH'                                          
'PUN FED20        INITRD * (NOH'                                          
'CH RDR ALL KEEP'                                                         
'IPL 00C CLEAR'                                                           