DataStage Basic Complier Problems
Moderators: chulett, rschirm, roy
The compiler is called using the "BASIC" command. It is better to create the folder as type 19 so it doesn't do funky things with your filename. BASIC commands do not need to be terminated with a semicolon.
<a href=http://www.worldcommunitygrid.org/team/ ... TZ9H4CGVP1 target="WCGWin">
</a>
</a>
-
- Participant
- Posts: 3
- Joined: Sun Feb 18, 2007 12:04 pm
Doesn't really answer the question, but... ok. Whatever.
Why not just 'analyse BASIC' by studying the supplied Routines? There are a plethora, documentation is decent and all you have to do is double-click on one to reveal the BASIC source code.
Why not just 'analyse BASIC' by studying the supplied Routines? There are a plethora, documentation is decent and all you have to do is double-click on one to reveal the BASIC source code.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
The file you opened is the dictionary. It is (was) a hashed file. By overwriting it with text you have irretrievably damaged the hashed file structure, and therefore the file dictionary. What you needed to do was to open a file in the BASICCODE1 directory, not in D_BASICCODE1.
You need to undo your work, and begin again. Use the command DELETE.FILE BASICCODE1 so that the VOC entry is also deleted.
The next point is that "basic.exe" is not the BASIC compiler. The BASIC compiler MUST be invoked using the BASIC command from within the DataStage environment.
You need to read the early chapters of the DataStage BASIC manual thoroughly.
You need to undo your work, and begin again. Use the command DELETE.FILE BASICCODE1 so that the VOC entry is also deleted.
The next point is that "basic.exe" is not the BASIC compiler. The BASIC compiler MUST be invoked using the BASIC command from within the DataStage environment.
You need to read the early chapters of the DataStage BASIC manual thoroughly.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.