- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: ICC_OPEN_ASSOC using Pascal
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-19-2011 12:11 AM
тАО07-19-2011 12:11 AM
Re: ICC_OPEN_ASSOC using Pascal
Hi John
Thanks for the hints, making all the parameters UNSIGNED and passing by reference does the trick. IADDRESS can then be used to examine the values. I will worry about the string parameters at some other time. Not sure I need to worry about them at the moment, although something like C_STR_T mechanism may be the route to go.
cheers
Brian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-21-2011 11:01 PM
тАО07-21-2011 11:01 PM
Re: ICC_OPEN_ASSOC using Pascal
Hi Brian,
I realise you've found a solution but FYI here is how I did it in my own code (part of the SOPHAST product we sell).
[Asynchronous,Check(NONE)]
Function Connection_AST (event_type : [immediate,long] unsigned;
conn_handle : [immediate,long] unsigned;
data_len : [immediate,long] unsigned;
var data_buff : [unsafe] SOPHAST_R_Command;
reply_buflen : [immediate,long] unsigned;
client_pid : [immediate] ICC_PID;
var username : [readonly] ICC_Username_Buffer
) : integer;
I've found ICC to be interesting & powerful but also very frustrating until you get the hang of it.
Regards,
Jeremy Begg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2011 12:09 AM
тАО07-22-2011 12:09 AM
Re: ICC_OPEN_ASSOC using Pascal
Hi Jeremy,
Its always good to have a number of solutions. I've found the ICC to be a very usefl tool.
cheers
Brian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-25-2011 02:39 PM
тАО07-25-2011 02:39 PM
Re: ICC_OPEN_ASSOC using Pascal
(I really miss the Pascal compiler)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-01-2011 02:55 AM
тАО08-01-2011 02:55 AM
Re: ICC_OPEN_ASSOC using Pascal
See attached COBOL example if anyone has such a requirement in the future.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-01-2011 03:02 AM
тАО08-01-2011 03:02 AM
Re: ICC_OPEN_ASSOC using Pascal
I often threaten to use COBOL, just to wind the management up. Its bad enough trying to find programmers willing to learn Pascal, they would all prefer to the Visual methods, we can get any number of VB/C/C++/C# programmers but you get insurrection if they're asked to work on VMS or Unix.
Still, the more examples of this kind of stuff the better.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2012 09:04 AM
тАО02-18-2012 09:04 AM
Re: ICC_OPEN_ASSOC using Pascal
Hello,
Does anyone have a program example in fortran using icc$ modules ?
I always receive a return status of 0 instead of 1.
I suppose that something's wrong in my code.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2012 10:39 AM - edited тАО02-18-2012 11:14 AM
тАО02-18-2012 10:39 AM - edited тАО02-18-2012 11:14 AM
Re: ICC_OPEN_ASSOC using Pascal
The general behavior implies you're not synchronizing correctly somewhere; seeing a zero usually means the operation hasn't been called for some reason, or that the AST hasn't completed. (But without seeing where you're getting that zero from, a specific answer isn't feasible.)
Please post your (apparently buggy?) Fortran code; a reproducer. (By posting your existing Fortran code, folks can start by reviewing existing (and non-functional) Fortran code for potential errors and issues. And we've all written our share of source code bugs over the years, too.)
And FWIW, there's a Pascal example call already posted in this thread, if you haven't seen that.
(I'd start your own thread with this, as this doesn't seem to be the exactly same as the ICC Pascal question you're starting with; you're not able to manage ths thread, and you're also effectively burying your Fortran question.)
- « Previous
-
- 1
- 2
- Next »