If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Scripts

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-27-05, 21:24
manny_er manny_er is offline
Registered User
 
Join Date: Feb 2003
Posts: 24
Scripts

Hello everyone,

What are the options in converting shell scripts to its equivalent in OS/390 or z/OS.

Thanks in advance.
Reply With Quote
  #2 (permalink)  
Old 12-28-05, 17:07
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,196
There is no equivilent. In many cases you will need to execute job steps with JCL using OS or DB2 utilities. However, it really depends on the specifics of what you need to do and there is general answer to that question.
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390
Reply With Quote
  #3 (permalink)  
Old 01-06-06, 06:08
Peter.Vanroose Peter.Vanroose is offline
Registered User
 
Join Date: Sep 2004
Location: Belgium
Posts: 1,079
The syntactic possibilities of JCL come close to the most frequently used possibilities of shell scripts. (At least, for non-interactive use.)

Or, depending on the context of use, you might consider using USS.
__________________
--_Peter Vanroose,
__IBM Certified Database Administrator, DB2 9 for z/OS
__IBM Certified Application Developer
__ABIS Training and Consulting
__http://www.abis.be/
Reply With Quote
  #4 (permalink)  
Old 01-06-06, 06:39
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
Peter, Do you mean execting the shell script by invoking USS in JCL ?
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
Reply With Quote
  #5 (permalink)  
Old 01-06-06, 06:45
Peter.Vanroose Peter.Vanroose is offline
Registered User
 
Join Date: Sep 2004
Location: Belgium
Posts: 1,079
Quote:
Originally Posted by sathyaram_s
Do you mean execting the shell script by invoking USS in JCL ?
I meant, executing the shell script within USS. (But I have no experience with USS, so I cannot give an details, nor do I know whether this is possible from within JCL.)
My remarks on JCL on the one hand, and USS on the other hand, are to be seen as two unrelated options.
__________________
--_Peter Vanroose,
__IBM Certified Database Administrator, DB2 9 for z/OS
__IBM Certified Application Developer
__ABIS Training and Consulting
__http://www.abis.be/
Reply With Quote
  #6 (permalink)  
Old 01-06-06, 09:14
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
Quote:
Originally Posted by manny_er
What are the options in converting shell scripts to its equivalent in OS/390 or z/OS.
Isn't it what REXX is for?
Reply With Quote
  #7 (permalink)  
Old 01-09-06, 07:17
juliane26 juliane26 is offline
Registered User
 
Join Date: Oct 2005
Posts: 109
We do quite some logic(loops etc) in REXX as well ... so that would be the equivalent for me too.

Still, if you just want jobs to be done (like a backup script) JCL should be sufficient.
__________________
Juliane
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On