Advertisement
Guest User

Untitled

a guest
Jun 27th, 2017
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. FUNIX UF F 1000 SPECIAL PGMNAME('UNIXCMD')
  2. F PLIST(UNIXPARM) USROPN
  3. Drecord ds 1000
  4.  
  5. C UNIXPARM PLIST
  6. C parm CMD
  7. C * then set the CMD without the 'QSH' part
  8. C * because UNIXCMD does that for you
  9. C * and then...
  10.  
  11. /Free
  12. open UNIX;
  13.  
  14. read UNIX record;
  15.  
  16.  
  17. dsply ('ret=' + record);
  18.  
  19. close UNIX;
  20. /End-free
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement