Hello,

 I have requirement to run omvs command using batch job but not sure, where
i am making mistake.

//IBMUSEER JOB 654,VENKAT,CLASS=A,MSGCLASS=A,NOTIFY=&SYSUID
//STEP1  EXEC PGM=IKJEFT01
//SYSTSPRT DD SYSOUT=*
//SYSPRINT DD SYSPUT=*
//SYSTSIN DD *

         OGET '/u/venkat/test_01.txt'   'IBM06.DATA.TEST1'
          OGET '/u/venkat/test_02.txt'   'IBM06.DATA.TEST2'


OSHELL
               {
      echo '!rm -r /u/venkat/test_01.txt' ; +
      echo '!rm -r /u/venkat/test_01.txt'   ; }

/*

but this jcl doesn't seems to be removing the file from the location,we
mentioned but OGET command works well.

Please suggest, if any changes in this JCL is required to make this full
process work.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to