Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Wed, 08 Oct 2003 @ 12:24:49 GMT


     
  <Prev Next>   <<First <Prev Next> Last>>  


Subj:   Re: Running OS Commands from within an mload script
 
From:   Narayan Murthy K S

The .SYSTEM should work, it works on MPRAS, I guess the same should work on HPUX too.

.system 'pwd';
0001 .system 'pwd';
/
**** 05:31:09 UTY8400 SYSTEM command completed with a return code '0'.
.system 'date';
0002 .system 'date';
Wed Oct  8 05:31:17 PDT 2003
**** 05:31:17 UTY8400 SYSTEM command completed with a return code '0'.
.system 'ps';
0004 .system 'ps';
   PID TTY      TIME COMD
   736 pts/1    0:00 ps
   613 pts/1    0:00 ksh
   735 pts/1    0:00 sh
   724 pts/1    0:00 mload
**** 05:31:39 UTY8400 SYSTEM command completed with a return code '0'.

Narayan.



     
  <Prev Next>   <<First <Prev Next> Last>>  
 
 
 
 
 
 
 
 
  
  Top Home Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 15 Jun 2023