Do we have any sample code for executing Visual Cobol in PowerShell Scripts.
Does RTSORA Runtime still be supported when executing scripts via PowerShell
#VisualCOBOL
Do we have any sample code for executing Visual Cobol in PowerShell Scripts.
Does RTSORA Runtime still be supported when executing scripts via PowerShell
Do we have any sample code for executing Visual Cobol in PowerShell Scripts.
Does RTSORA Runtime still be supported when executing scripts via PowerShell
Do we have any asnwer's to this
Do we have any sample code for executing Visual Cobol in PowerShell Scripts.
Does RTSORA Runtime still be supported when executing scripts via PowerShell
Just a reminder that this forum is not a substitute for using normal Customer Care support channels. If you have a question or run into a problem that requires immediate assistance then you should open up a support incident with Micro Focus.
I am really not sure what the question here actually is.
Are you asking how to invoke the compiler using commands from within a .bat file in order to build your application outside of the IDE or are you asking how to run a built application from a script?
If the former then there is a section in the documentation here that explains the command line interface to both the compiler (cobol) or link (cbllink) commands. If by RTSORA you are referring to Oracle's Pro*COBOL then yes you can compile using the precompiler by using COBSQL which is documented here:
Please clarify your question so that we can provide more detailed information.
Thanks.
Do we have any sample code for executing Visual Cobol in PowerShell Scripts.
Does RTSORA Runtime still be supported when executing scripts via PowerShell
We have a native Cobol program compiled OK in Visual Cobol. This is existing program executed through Unix shell script with command rtsora <program name>, This we want to migrate to Visual Cobol and now need to be run through Powershell. Please let me know how to do this?
Do we have any sample code for executing Visual Cobol in PowerShell Scripts.
Does RTSORA Runtime still be supported when executing scripts via PowerShell
Could you be more elaborate ?
Do we have any sample code for executing Visual Cobol in PowerShell Scripts.
Does RTSORA Runtime still be supported when executing scripts via PowerShell
Could you be more elaborate ?
Do we have any sample code for executing Visual Cobol in PowerShell Scripts.
Does RTSORA Runtime still be supported when executing scripts via PowerShell
Sorry, I mistakenly split the last reply from karthikgeek into a new thread because I thoughtt it was a new topic.
It is as follows:
Chris we are looking for the Later. How to run a built Visual Cobol application compiled using (OpenESQL ADO.net) from a PowerShell script?
I still am not sure what the question is here as the original question was related to rtsora which is the COBOL run-time built with the Oracle Pro*COBOL modules under Unix. This can be done the same way in Visual COBOL using the development tools from the command line. If you are using the Eclipse IDE then this would be handled differently.
But now you seem to indicate that you are using ADO.NET which is available only under Windows using the Visual COBOL for Visual Studio product. For this you need to create a managed connection using the ADO Connection Editor Tool and set the OpenESQL option DBMAN=ADO. Oracle Pro*COBOL is not available for managed .NET code so there may be some compatibility issues. Using the directive SQL(PROCOB) can help maintain compatibility to Pro*COBOL applications.
Can you please clarify what the actual question is here? Are you trying to move a Pro*COBOL application from SX on Unix to VC on Windows?
If replies are actually referencing different topics than the original post can you please create a new post for these questions?
Thanks.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.