Need help in creating a Basic Program

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
Titto
Participant
Posts: 148
Joined: Tue Jun 21, 2005 7:49 am

Need help in creating a Basic Program

Post by Titto »

while i am reading thru the Basic programming document, i found this example to edit or create a Basic program, but I am little confused can any one guide me to create a basic program using Unix/ DataStage prompt.

Code: Select all

Editing Programs in DataStage
On UNIX systems you can invoke vi from the DataStage system prompt
using this syntax:
VI pathname
pathname is the relative or absolute pathname of the program you want to
edit. For example, the program PAYROLL is stored as a record in the file
BP. To edit it with vi, enter:
>VI BP/PAYROLL
If you want to use vi, or any other editor, directly from DataStage, you can
create a VOC entry that invokes your chosen editor. For example, this VOC
entry calls edit from DataStage on Windows NT:
EDIT
001 V
002 \win25\edit.com
003 PR
WoMaWil
Participant
Posts: 482
Joined: Thu Mar 13, 2003 7:17 am
Location: Amsterdam

Post by WoMaWil »

That is a relict from Universe times. It should work but does not make much sense any more doing it this way. Write you Basic programms in DataStage whether as Routine or in your job.

Wolfgang
Wolfgang Hürter
Amsterdam
Titto
Participant
Posts: 148
Joined: Tue Jun 21, 2005 7:49 am

Post by Titto »

Hi,
You mean to say use routine or use JobControl area to create a Basic program is it?
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

DataStage does not support stand-alone BASIC programs - in DataStage you must only create routines that can be invoked by other DataStage components. Yes, you do this in the Routines branch or in the Job Control tab of job properties.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Titto
Participant
Posts: 148
Joined: Tue Jun 21, 2005 7:49 am

Post by Titto »

Thank Ray!!!
kduke
Charter Member
Charter Member
Posts: 5227
Joined: Thu May 29, 2003 9:47 am
Location: Dallas, TX
Contact:

Post by kduke »

They do not support BASIC in this way but it will work in you know how to make it work.
Mamu Kim
Post Reply