Help with Solaris.....any help would be nice
I have to write a paper comparing and contrasting Solaris with DOS/MSDOS.....you wouldnt think this would be hard but it is......is ththere a place where I can find a head to head comparsion? If not perhaps some of you familiar with Solaris could give me some points to start with......I should point out I have never used or seen Solaris I am completely new to this area and it may seem simple but the truth is Im a little overwhelmed by all the information....cant see the forrest for the trees...........so any help would be nice ....thanks in advance
Hi,
Solaris is so much more advanced an OS than DOS that a comparison is not straightforward, but here are some less than exhaustive suggestions. Please bear in mind I m not a DOS person, and these are just my personal thoughts on the subject; apologies to Microsoft afficionados for any mistakes.
Similarities:
Both DOS and Solaris are Operating Systems. They provide access to machine resources, like a printer port, or a disk ( through the filesystem), by providing an Application Programming Interface, thus saving programmers from learning the underlying details and machine language of each machine they use. So for example in DOS compiler routines make use of INT 21h to access system services.In solaris we use the system call interface (which does a similar thing underneath).
They also both provide a command shell for ordinary users. In DOS we have command.com, in Solaris you may use Korn shells for example.
Differences
DOS is a single user operating system. Solaris is multiuser, multitasking and multiprocessing.
That is to say Solaris supports multiple programs running on the system at the same time. It will context switch between them to give the illusion of concurrency on a uniprocessor system (time-slicing). On a multiprocessor some tasks will run concurrently.
Many users can log on to a Solaris system (via a serial terminals, or a network connection (telnet or X windows)) and run programs at the same time. Full networking facilities are built in.
Dos only provides the ability to fileshare across the network, using the add on Lan Manager.
Because multiple users run processes (threads/tasks ...) concurrently, Solaris provides extensive security, which DOS doesnt. Each process is owned by a user and runs in its own virtual memory space and is prevented from interfering with any other process memory or other users processes. The operating system and its data is held in protected kernel memory and not directly accessible to processes, so malfunctioning user program cant crash the system accidentally or maliciously.
Devices and files are protected through filesystem permissions, so a device or file has an owner, a group owner and various permissions attributes such as read/write/execute.
Solaris also implements filesystem Access Control Lists (ACLs).
Solaris runs in 32bit protected mode on x86 processors, giving it access to the full address range of the processor (4GB using 4k pages). DOS uses the 16bit segmented memory model.
On ultrasparc systems or the forthcoming Intel Itanium systems, Solaris runs in 64bit mode, giving it access to vastly more memory and
faster computation. (note also DOS only runs on x86 processors).
Who are you writing the paper for? It would probably help some of the readers here with posting suggestions. Some specific questions would be good too.
However, you should try to get access to a solaris system on a network and maybe have a friendly sysadmin show you around a bit.
Do you know anyone with a LINUX system? Solaris and LINUX are variants of the UNIX OS and for your purposes a comparison of LINUX and DOS may suffice.
Hope that is some help.
Ralph
SUN DTS
Similar Messages
-
Hello,
I just got ahold of a SunBlade 100 system (that's having video problems, I already posted what the problem is in the Hardware section) and I would like some help with Solaris 10. I have never used Sun before, and I figured why not get a machine and start learning. =)
Anyways, I do alot of web design and networking...on Mac's though.
I'm setting this system up on a Rack along with a Win Xp box, a Mac G4, and a Linux Mint machine.
I also have two of these Scsi towers that came with the Sun System. They can each hold I believe 8-10 Drives each? Not sure..that i want to setup at a later time.
My questin is this. I'd like to run websites off my Sun system. But i'm not sure how to transfer my files from iWeb to the Sun, and how to control the sites on the system, as well as turning the site on, off, etc.
I'd also like to store music on it as well. Because I can have alot of Scsi drives, i figured I can get quite large amount of storage for songs. I'd like to set it up to where I can give someone a login information and a website (ex. myuploadsite.net) and they can go in, and upload there music. But, I'd like to make it to where I can make the website in iWeb, and run it off the Sun system, and store all the files on the Sun as well.
And my last question is this. How do I remote desktop to a Sun System from a Mac. I'm using Apple Remote Desktop, and the way the rack is setup, is that I remote connect to the Xp, linux, and Mac box's (saves monitors, and space. =), and also because I'm usually never home...
Thanks in advance for the help!
Oh, and if anyone has a Instant Messanger and wouldn't mind having a chat with me, that would be great.hi all
1st of all, thank u for support...
then i need some explaination for the installation of 119090-25 (iscsi driver + target) installation
this patch requrires kernel patch (118833-36-1) that requires 3 other patches 118918-13, 119042-09 and 119578-30
now i have some questions for kernel installation patch... on my server is running oracle and i ask if this upgrade should give some problem with services running.
could u guide me through this adventure? I repeat i'm totally newbie and i'm reading as much as possible to understand as best i can solaris 10
thank u
sorry for my english -
Hello, I'm Bethany and I'm having trouble with my apple ID I tried to buy something from he app store and they assed me some questions and anyway i have locked my account and don't know how to unlock any help with be very helpful thanks.
Contact iTunes Customer Service and request assistance
Use this Link > Apple Support iTunes Store Contact -
Why has my ipad mini stopped connecting with my iPhone 4S? I used to use it to download books, or transfer emails to my ipad mini. It was fine 3 days ago, now I get a message saying " cannot join with iPhone" Any help greatly appreciated.
You can try resetting your iPad and iPhone by simultaneously pressing and holding the Home and Sleep/Wake buttons until you see the Apple Logo. This can take up to 15 seconds so be patient and don't release the buttons until the logo appears.
Try again to see if the problem persists. -
Issues with styles: any help gratefully received!
Hi all!
I made the [perhaps reckless!] decision to use Pages as my primary word processing software for my PhD. I found a great bibliographic editor [Sente], and liked the look and feel of Pages.
Now, 6 months, and about 10,000 words in, I am still broadly happy with my decision: apart from one thing that drives me mad! Any help would be appreciated.
Say I copy text, for example, from the main body to a footnote. The source style is retained. No problem. So, I highlight the text and then click on one of the stlyes in my style draw. In this example, the "footnote" style I have defined. Now.... it just doesnt seem to do this operation smoothly. In this case..... it never applies the font size of the style I choose to change it to. Its driving me nuts! And when I copy text from another source into the main body, and then highlight and select a style from the draw to change... it seems to want to keep the source file, or change it to helvetica, and ignore my styles.
This is really driving me mad, and I am thinking I should transfer all my documents to Word 2008 [which I own], but I really like Pages, and dont want to have to do this if at all possible.
Any suggestions?
Cheers!
Steviehttp://discussions.apple.com/thread.jspa?threadID=1643118&tstart=15
+-+-+-+-+-+-+-+-+
Worried Life Blues 2008
+4. Discussions+
+Apple Discussions, launched in August, 2000, have grown rapidly in usage and features. The main features include personalization, subscription capabilities and email capabilities. _For information on how to use Discussions, please visit the Discussions Help Page_. Cookies should be enabled and an Apple ID account is required if you would like to contribute to the discussions.+
+Entering the Help and Terms of Use area you will read:+
+*What is Apple Discussions and how can it help me?*+
+
Apple Discussions is a user-to-user support forum where experts and other Apple product users get together to discuss Apple products. … You can participate in discussions about various products and topics, find solutions to help you resolve issues, ask questions, get tips and advice, and more.+
+_If you have a technical question about an Apple product, be sure to check out Apple's support resources first by consulting the application Help menu on your computer and visiting our Support site to view articles and more on our product support pages._+
+*I have a question or issue*—+
+how do I search for answers? _
It's possible that your question or issue has already been answered by other members so do a search before posting a question._ On most Apple Discussions pages, you'll find a Search Discussions box in the upper right corner. Enter a search term (or terms) in the field and press Return. Your results will appear as a list of links to posts below the Search Discussions Content pane.+
+Search tips are available here:+
+http://discussions.apple.com/help/search-tips.html+
+-+-+-+-+-+-+-+-+
Yvan KOENIG (from FRANCE lundi 4 août 2008 12:27:57) -
Help with Solaris 2.5.1
Hello all,
I'm new to the Solaris administration and must install Solaris 2.5.1 on a 36G harddrive running on an Ultra 80 Workstation (configured as a server to sunray 100s). I have installed Solaris 8 on a second harddrive inthe same maching but can't seem to get 2.5.1 to even start installing. Yes I have the installation manual for what it's worth but every time I boot off of the CD I get a prompt to enter a kernal id. What do I do????
Any help on this would be greatly appreciated.Hi,
The NI-488.2 for Solaris, v2.2 requires Solaris 2.5.1 or above, and the NI-488.2 for Solaris, v2.3 requires Solaris 2.6 and above. You will see these messages when you start up the installers. You are right that this information should be more clearly available at the website, at the download pages and perhaps in KnowledgeBase, too. -
I bought a MIDI-USB cable to connect a keyboard and play some music. Since the driver MPU-401 (the driver that detected it) had problems with it, i uninstalled it and I can't find it anywhere to replace it. I still can't use the keyboard, and I know that that is not the problem because I tried it out in another computer with Win 7. I have a fairly old HP Compaq Presario v3417LA with Windows XP. Please I need much help with this.
I totally understand now, thank you SOOOO VERY MUCH!!! You have been a huge help and very friendly Would you mind if I add you to my friends list or something on here? You seem to really know your stuff and understand everything I have said, I like that and would prefer to just deal with you if I ever have any problems again lol. Also, I have given Kudos to every response you have given me and would like to give you the solution part as well, but not sure which one to select as the actual answer to the problem lol so which would you prefer me to click? Either way it's all yours, I can't thank you enough, you're amazing!! lol Hope you have a great day and fabulous week, take care!
~Krystal~ -
Since 6 months or more ... Safari keeps having a life off its own ...
I constantly have to go back 1 or 2 pages to get where I want ...
it not even after a google search or so ...
I go to a site and hop ... "mackleener" shows up "groupon" is there all the time ...
or the page turns grey saying ... no page found ... with a long link starting with groupiesearch blabla ..
it starting to be sooooo enoying that I want to throw out Safari ... but Im so used to this browser now that I actiually dont want to change..
All my pages info stuff is build in Safari for years so I dont want to restart with Firefox from zero ...
any help on this matter would be a timesaver ...
Thank YOU
FrankyOk... use Open DNS to avoid redirects.
Use OpenDNS for better speed and more security and it's free.
Open System Preferences / Preferences then select the Network tab. Click the Advanced tab then click the DNS tab.
Enter these numbers exactly as you see them here.
Click +
208.67.222.222
Click +
208.67.220.220
Then click OK.
More about OpenDNS here.
Topic : Manually provided DNS server addresses are higher priority than DHCP's -
File IO basics more than 1 problem with streams any help?
Have console program that i've built up in steps from reading args from the command line and displaying the text to now wanting to learn to read and write to a disk file.
i know i have a number of errors but believe it's down to something i am not understanding with the use of datastreams.
a snippit of code is below.
if (args.length > 0)
// Read what the use has entered and keep for later use
for (int i=0; i < args.length; i++)
text = text + args;
try
//path is define further up as c:\my projects\
System.out.print (path);
//create a file object to point to the file the user has given for reading to
// the file and another to read the file back in
File fileIn = new File (path,text);
// File fileOut = new File (path,text);
// Not sure if this is required!!
fileIn.createNewFile();
// thefileOut.createNewFile();
//Thought this would be the right way of of creating the stream
// DataOutputStream thefileIn = new DataOutputStream(new BufferedOutputStream(new FileOutputStream(fileIn)));
// DataOutputStream thefileOut = new DataOutputStream(new BufferedOutputStream(new FileOutputStream(fileOut)));
//errors on exists and delete methods
if (fileIn.exists())
fileIn.Delete();
catch(IOException e)
{ // also errors in the getmessage
System.out.print("Error occured!"+ fileIn.getmessage());
the errors i am getting are to do with the DELETE method
The Getmessage method
Exits method
i have others but if i can get help with these then i might be able to fix the others.
thankscomplete program code below :)
import java.io.*;
public class mysimpleio
String thefilename = "";
// String ToFile(String thefilename);
// String FromFile(String thefilename);
public static void main(String[] args)
String text = "";
String path = "e:\\my_project\\crm\\";
if (args.length == 0)
System.out.println("No file name, Exiting program!");
if (args.length > 0)
for (int i=0; i < args.length; i++)
text = text + args;
try
System.out.print (path);
File fileIn = new File (path,text);
// File fileOut = new File (path,text);
fileIn.createNewFile();
// thefileOut.createNewFile();
// DataOutputStream thefileIn = new DataOutputStream(new
BufferedOutputStream(new FileOutputStream(fileIn)));
// DataOutputStream thefileOut = new DataOutputStream(new
BufferedOutputStream(new FileOutputStream(fileOut)));
if (fileIn.exists())
fileIn.delete();
catch(IOException e)
System.out.print("Error occured!"+ fileIn.getmessage());
ToFile(text);
System.out.print("\n okay so you entered "+ text);
if (!fileIn.exists())
System.out.println("Sorry no file found matching " + text);
else
if (fileIn.exists())
FromFile(text);
// put data to a Disk File
static void ToFile(String thefilename)
// thefileOut.writeUTF(path);
System.out.println("Data would be written to file Now! "
+thefilename);
//Read data From a Disk File
static void FromFile(String thefilename)
fileIn.readUTF(path);
System.out.println(" Data would be Read From file Now! "
+thefilename);
Errors are....
can not resolve symbol
E:\my_project\crm>javac mysimpleio.java
mysimpleio.java:43: cannot resolve symbol
symbol : variable fileIn
location: class mysimpleio
System.out.print("Error occured!"+ fileIn.getmessage());
^
mysimpleio.java:49: cannot resolve symbol
symbol : variable fileIn
location: class mysimpleio
if (!fileIn.exists())
^
mysimpleio.java:53: cannot resolve symbol
symbol : variable fileIn
location: class mysimpleio
if (fileIn.exists())
^
mysimpleio.java:70: cannot resolve symbol
symbol : variable path
location: class mysimpleio
fileIn.readUTF(path);
^
mysimpleio.java:70: cannot resolve symbol
symbol : variable fileIn
location: class mysimpleio
fileIn.readUTF(path);
^
5 errors
E:\my_project\crm> -
Working with OracleParameters - Any Help?
Hi,
I created a stored procedure with 3 IN parameters(out of 2 are single value,3rd one is pl/sql table) and 1 OUT Parameter (of PLSQL Table Return type).
I want take the SP results in VB.NET. i used plsql associative arrays, but i am getting error as
'OracleParameter.Value is Invalid.'
How to set parameter.size for the Output value.. I don't know exactly how many rows will be retrieved.
How to use oracleparametercollection.
How to return cursors from the plsql table.( gone through the asktom article. but i am unable to follow it. getting error as expression is of wrong type.)
Here the stored procedure that i have written which is a wrapper for another procedure( and that procedure working properly in oracle).
PL/SQL Procedure
procedure Storage_Charges_with_prd(LotNo IN Number,CurrDate IN Date,m_prd IN products_table_t,charges_table out storage_charges_table) is
m_products pkg_coldstorage.products_type;
type curProducts is REF CURSOR ;
cv_products curProducts;
-- type strgchgs is table of storage_charges_rec index by binary_integer;
--charges_table storage_charges_table;
prd_table products_table_t;
m_SNo Number:=1;
output_cursor SYS_REFCURSOR;
BEGIN
For m_SNo in 1..m_prd.Count
LOOP
prd_table(m_SNo):=m_prd(m_SNo);
END LOOP;
charges_table:= pkg_coldstorage.CALCULATE_STORAGE_CHARGES1(Lotno,CurrDate,prd_table);
--return charges_table;
dbms_output.put_line('Charges Table Row Count In - Storage Charges with Product Procedure ' ||charges_table.count);
-- Open output_cursor For Select * From table(charges_table );
END Storage_Charges_with_prd;
in VB.NET - the Codings are
Dim mLotno, mCurrDate, SNo, Transid, ProductId, UnitId, ProductName, Unit_Name, Calculation_Method, Season_start_date, season_end_date, labour, Storage_Rate, Seasonal_Storage_Rate As New OracleParameter()
mLotno.OracleDbType = OracleDbType.Decimal
mCurrDate.OracleDbType = OracleDbType.Date
mLotno.Value = LotNo
mCurrDate.Value = CurrDate
mLotno.Size = 1
mCurrDate.Size = 1
SNo.CollectionType = OracleCollectionType.PLSQLAssociativeArray
Transid.CollectionType = OracleCollectionType.PLSQLAssociativeArray
ProductId.CollectionType = OracleCollectionType.PLSQLAssociativeArray
UnitId.CollectionType = OracleCollectionType.PLSQLAssociativeArray
ProductName.CollectionType = OracleCollectionType.PLSQLAssociativeArray
Unit_Name.CollectionType = OracleCollectionType.PLSQLAssociativeArray
Calculation_Method.CollectionType = OracleCollectionType.PLSQLAssociativeArray
Season_start_date.CollectionType = OracleCollectionType.PLSQLAssociativeArray
season_end_date.CollectionType = OracleCollectionType.PLSQLAssociativeArray
labour.CollectionType = OracleCollectionType.PLSQLAssociativeArray
Storage_Rate.CollectionType = OracleCollectionType.PLSQLAssociativeArray
Seasonal_Storage_Rate.CollectionType = OracleCollectionType.PLSQLAssociativeArray
SNo.Direction = ParameterDirection.Input
Transid.Direction = ParameterDirection.Input
ProductId.Direction = ParameterDirection.Input
ProductName.Direction = ParameterDirection.Input
Unit_Name.Direction = ParameterDirection.Input
Calculation_Method.Direction = ParameterDirection.Input
Season_start_date.Direction = ParameterDirection.Input
season_end_date.Direction = ParameterDirection.Input
labour.Direction = ParameterDirection.Input
Storage_Rate.Direction = ParameterDirection.Input
Seasonal_Storage_Rate.Direction = ParameterDirection.Input
SNo.OracleDbType = OracleDbType.Decimal
Transid.OracleDbType = OracleDbType.Decimal
ProductId.OracleDbType = OracleDbType.Decimal
ProductName.OracleDbType = OracleDbType.Varchar2
Unit_Name.OracleDbType = OracleDbType.Varchar2
Calculation_Method.OracleDbType = OracleDbType.Decimal
Season_start_date.OracleDbType = OracleDbType.Date
season_end_date.OracleDbType = OracleDbType.Date
labour.OracleDbType = OracleDbType.Decimal
Storage_Rate.OracleDbType = OracleDbType.Decimal
Seasonal_Storage_Rate.OracleDbType = OracleDbType.Decimal
Dim msno(ProductRates.Rows.Count) As Decimal
Dim mtransid(ProductRates.Rows.Count) As Decimal
Dim mproductid(ProductRates.Rows.Count) As Decimal
Dim mproductname(ProductRates.Rows.Count) As String
Dim munit_name(ProductRates.Rows.Count) As String
Dim mcalculation_method(ProductRates.Rows.Count) As Decimal
Dim mseason_start_date(ProductRates.Rows.Count) As Date
Dim mseason_end_date(ProductRates.Rows.Count) As Date
Dim mlabour(ProductRates.Rows.Count) As Decimal
Dim mstorage_rate(ProductRates.Rows.Count) As Decimal
Dim mseasonal_storage_rate(ProductRates.Rows.Count) As Decimal
For i As Integer = 0 To ProductRates.Rows.Count - 1
msno(i) = ProductRates.Rows(i).Item("SNo")
mtransid(i) = ProductRates.Rows(i).Item("transid")
mproductid(i) = ProductRates.Rows(i).Item("Productid")
mproductname(i) = ProductRates.Rows(i).Item("ProductName")
munit_name(i) = ProductRates.Rows(i).Item("Unit_Name")
mcalculation_method(i) = ProductRates.Rows(i).Item("Calculation_Method")
mseason_start_date(i) = ProductRates.Rows(i).Item("Season_start_date")
mseason_end_date(i) = ProductRates.Rows(i).Item("season_end_date")
mlabour(i) = ProductRates.Rows(i).Item("labour")
mstorage_rate(i) = ProductRates.Rows(i).Item("Storage_Rate")
mseasonal_storage_rate(i) = ProductRates.Rows(i).Item("Seasonal_storage_rate")
Next
SNo.Value = msno
Transid.Value = mtransid
ProductId.Value = mproductid
ProductName.Value = mproductname
Unit_Name.Value = munit_name
Calculation_Method.Value = mcalculation_method
Season_start_date.Value = mseason_start_date
season_end_date.Value = mseason_end_date
labour.Value = mlabour
Storage_Rate.Value = mstorage_rate
Seasonal_Storage_Rate.Value = mseasonal_storage_rate
'-- Set the Size
SNo.Value = ProductRates.Rows.Count
Transid.Value = ProductRates.Rows.Count
ProductId.Value = ProductRates.Rows.Count
ProductName.Value = ProductRates.Rows.Count
Unit_Name.Value = ProductRates.Rows.Count
Calculation_Method.Value = ProductRates.Rows.Count
Season_start_date.Value = ProductRates.Rows.Count
season_end_date.Value = ProductRates.Rows.Count
labour.Value = ProductRates.Rows.Count
Storage_Rate.Value = ProductRates.Rows.Count
Seasonal_Storage_Rate.Value = ProductRates.Rows.Count
''-- Set the Array Bind Size For Unitname, Productname
'Dim arr1(ProductRates.Rows.Count) As Integer
'Dim arr2(ProductRates.Rows.Count) As Integer
'For i As Integer = 0 To ProductRates.Rows.Count - 1
' arr1(i) = 50
' arr2(i) = 50
'Next i
'ProductName.ArrayBindSize = arr1
'Unit_Name.ArrayBindSize = arr2
Dim daStorageCharges As New OracleDataAdapter("pkg_coldstorage.storage_charges_with_prd", DbCn)
daStorageCharges.SelectCommand.CommandType = CommandType.StoredProcedure
With daStorageCharges.SelectCommand.Parameters
.Add(mLotno)
.Add(mCurrDate)
.Add(SNo)
.Add(Transid)
.Add(ProductId)
.Add(ProductName)
.Add(Unit_Name)
.Add(Calculation_Method)
.Add(Season_start_date)
.Add(season_end_date)
.Add(labour)
.Add(Storage_Rate)
.Add(Seasonal_Storage_Rate)
End With
Dim oSNo, oTransID, oTransDate, oProductID, oProductName, oUnitID, oUnitName, oQtyIn, oQtyOut, _
oBalanceQty, oWtIn, oWtOut, oBalanceWt, oLabour, oLabourAmount, oStorageRate, oStorageAmount, oTotal As New OracleParameter
oSNo.OracleDbType = OracleDbType.Decimal
oTransID.OracleDbType = OracleDbType.Decimal
oTransDate.OracleDbType = OracleDbType.Date
oProductID.OracleDbType = OracleDbType.Decimal
oProductName.OracleDbType = OracleDbType.Varchar2
oUnitID.OracleDbType = OracleDbType.Decimal
oUnitName.OracleDbType = OracleDbType.Varchar2
oQtyIn.OracleDbType = OracleDbType.Decimal
oQtyOut.OracleDbType = OracleDbType.Decimal
oBalanceQty.OracleDbType = OracleDbType.Decimal
oWtIn.OracleDbType = OracleDbType.Decimal
oWtOut.OracleDbType = OracleDbType.Decimal
oBalanceWt.OracleDbType = OracleDbType.Date
oLabour.OracleDbType = OracleDbType.Decimal
oLabourAmount.OracleDbType = OracleDbType.Decimal
oStorageRate.OracleDbType = OracleDbType.Decimal
oStorageAmount.OracleDbType = OracleDbType.Decimal
oTotal.OracleDbType = OracleDbType.Decimal
oSNo.Direction = ParameterDirection.Output
oTransID.Direction = ParameterDirection.Output
oTransDate.Direction = ParameterDirection.Output
oProductID.Direction = ParameterDirection.Output
oProductName.Direction = ParameterDirection.Output
oUnitID.Direction = ParameterDirection.Output
oUnitName.Direction = ParameterDirection.Output
oQtyIn.Direction = ParameterDirection.Output
oQtyOut.Direction = ParameterDirection.Output
oBalanceQty.Direction = ParameterDirection.Output
oWtIn.Direction = ParameterDirection.Output
oWtOut.Direction = ParameterDirection.Output
oBalanceWt.Direction = ParameterDirection.Output
oLabour.Direction = ParameterDirection.Output
oLabourAmount.Direction = ParameterDirection.Output
oStorageRate.Direction = ParameterDirection.Output
oStorageAmount.Direction = ParameterDirection.Output
oTotal.Direction = ParameterDirection.Output
'Dim prdarr() As Integer
'Dim unitarr() As Integer
'for i as Integer = 0 to
'Next i
With daStorageCharges.SelectCommand.Parameters
.Add(oSNo)
.Add(oTransID)
.Add(oTransDate)
.Add(oProductID)
.Add(oProductName)
.Add(oUnitID)
.Add(oUnitName)
.Add(oQtyIn)
.Add(oQtyOut)
.Add(oBalanceQty)
.Add(oWtIn)
.Add(oWtOut)
.Add(oBalanceWt)
.Add(oLabour)
.Add(oLabourAmount)
.Add(oStorageRate)
.Add(oStorageAmount)
.Add(oTotal)
End With
'Dim a As OracleParameterCollection
Dim dtstoragecharges As New DataTable
daStorageCharges.Fill(dtstoragecharges)
tried with reader but unable.
please provide any example. so that i will use it.
Please provide any help
Thanks in Advance
Mohan Raj K.@Eric
I am a pl/sql noob, but I did manage to retrieve a ref_cursor via .net as follows:
CREATE or REPLACE PACKAGE myVars AS
TYPE CommonCurTyp is REF CURSOR;
--my test server is 8i need to define cursor in a package
END;
CREATE OR REPLACE PROCEDURE jtest(
v_repaircur OUT myVars.CommonCurTyp
IS
BEGIN
OPEN v_repaircur FOR
SELECT * FROM BLAH;
END;
--vb.net code:
dbConn.Open()
Dim selectCommand As New OracleCommand("jtest", dbConn)
selectCommand.CommandType = CommandType.StoredProcedure
selectCommand.Parameters.Add(New OracleParameter("v_repaircur", OracleDbType.RefCursor)).Direction = ParameterDirection.Output
Dim adapter As New OracleDataAdapter(selectCommand)
adapter.TableMappings.Add("Table", "repair_codes")
Dim ds As New DataSet
adapter.Fill(ds) 'boom! here's yer dataset
dbConn.Close()
with some minor hacking, you should be able to get it, HTH -
Apple Outlook DAV Config error with Windows7; Any help?
I have updated Windows7 and I have downloaded the icloud control panel. I keep getting the Apple Outlook DAV Config error. Any help?
I encountered the same problem yesterday. I have not found a solution but take a look at this thread. https://discussions.apple.com/thread/3377753?start=0&tstart=0 The conclusion (at that time) was a conflict between iClound and reoccurring appointments in Outlook. The only solution: delete all of your reoccurring appointments in outlook (and stop using them going forward too?)........not very feasible for me.
Let me know if you find anything. -
Trouble with .mdb Any help is apreciated
Hi
I need to access an .mdb file.
Im trying to make a program that will allow me to extract the data from the .mdb and place it in a SQL database.
The code below results in a java.sql.SQLException: No suitable driver.
I've tried putting all sorts of things into the DriverManager.getConnection(), but I haven't been able to make it work.
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
/* MDBReader.java
* Created on 3. oktober 2006, 13:16
* @author Leviathan
public class MDBReader
/** Creates a new instance of MDBReader */
public MDBReader()
try
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection con = DriverManager.getConnection(""+this.getClass().getResource("OtraLink.mdb"));
Statement stm = con.createStatement();
ResultSet rs = stm.executeQuery("select * from *");
System.out.println(rs.toString());
con.close();
catch (ClassNotFoundException ex)
ex.printStackTrace();
catch(SQLException ex)
ex.printStackTrace();
public static void main(String[] args)
MDBReader mdbReader = new MDBReader();
}I've spent the better part of a day browsing this forum and google, but I have nothing to show for it.
Any help will be apreciated.is simply because my ,mdb-file is located in the same package as my code,
hence it will also be in my Jar.For jdbc-odbc bridge, it's impossible. You should unjar first that mdb file into a temporary directory, then use dns-less url.
For commercial HXTT Access jdbc driver for MS Access, which supports compressed database(.ZIP, .JAR, .GZ, .TAR, .BZ2, .TGZ, .TAR.GZ, .TAR.BZ2), you should read How to Use Memory-only Table, Physical Table, Url table, Compressed table in a SQL at http://www.hxtt.com/dbf/advanced.html#mining . -
Hit a wall with overclock/ any help?
I overclocked my 865gm2-ls motherboard and have run into a wall at 220mhz fsb. I have an nvidia 5500fx, a 2.8ghz northwood, 2 sticks of 512mb viking 3200 ddr400, and a 3rd generation stock heat sink/fan. I am running the older bios version 5.1 (it killed sata but gave me access to overclocking the cpu). Once I go beyond 220 the system will work for a while and then suddenly reboot. At 220 it runs great. Heat doesn't appear to be the issue. Is this a limitation of the board or is there some other tweak?
Any help is appreciated.
ToddQuote from: toddctews on 21-February-06, 13:01:13
I finally have some ddr 550 to test this system. (I am building a new one) I set the fsb to 230 and let prime95 run torture test, set to 10, for around an hour. (didn't have more time) Stable so far. Good call Stu!
Todd -
my ipod touch has lost location services after i installed a new modem to my pc . it is turned on in the settings and i have even reset the ipod to new status. Any help would be appreciated thanks.
Nothing you can do except wait until Apple adds the router to their database of routers and their location. If you or someone nearby does not have an iPhone it can take a while. There is no way to tell Apple to add a router to their database.
iOS 5: Understanding Location Services -
Help needed with search help with ina search help
Hi all,
i have a field fld1 (non primary key )and to the dataelement of that field a search help is assigned in table ztable1.
That search help is referring to a table in which fld1 is primary key in ztable2.
I have created another search help with all the fileds in ztable1 and iam using this search help in a selection screen returning another field say fld2.
in this search help i have drill down for fld2, which in turn gives the fields of ztable2.
This is working fine.
i have created another search help with the fields of ztable1 but this time its its returning the value of fld1. for some reason in this search i am not able to see the drill downn for fld1 .
can anyone tell me how to get the drill down even the import parameteris fld1
Thankshi,
any suggestions on this
thanks
Maybe you are looking for
-
Can we use Google maps in IOS 6.0 Mapkit framework ?
Please find the description of the solution we did to render Google Maps in IOS. Please suggest whether it will approved on app store. Problem : The Map Kit framework will render Apple maps in IOS 6.0. It is not possible to force the MapKit to rende
-
I have recently purchased Adobe Export PDF so I can download bank statements in PDF and convert to Excel 97. The file will say "converted sucessfully" but when I open my Excel document, it has nothing but symbols and letters. Any information would b
-
Aperture image to external editor is SLOW
Wondering if anyone else is having an issue with opening their images up using their "external editor" option in Aperture. Mine is set to Photoshop, which I'm sure many of you have. But it takes upwards of a minute for the Aperture image to duplicate
-
How to delete activated DCs and make CMS stop to deploy it
Hello people, I'd like some help, I'm trying to delete some test components (DCs) which is activated. Iu2019m want delete because the deploy processes, (after Assembly phase in CMS) always try deploying it. I've already deleted the inactive DCs by dc
-
Hey guys, i was using final cut pro 4 to edit a movie for our film fest, and out of nowhere, the program is not letting us drag any clips into the timeline, it pops up with a message saying invalid edit. I tried to see if there was anything in the se