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.
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
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.
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.