Code Comments
Programming Forum and web based access to our favorite programming groups.Hi All: I used Pro*Cobol to compile a .pco file to .exe file . Now i want to accept parameterin console . Such as : In windows command window: C:\>MyProgram.exe parameter1 When the MyProgram.exe is Loading. cobol code will accept parameter1 as the file name I want to used. I used ACCEPT ... FROM COMMAND-LINE. but has no effect. Somebody can help me?? Thanks a lot !!
Post Follow-up to this messageOn Jul 31, 3:21 am, dahuzi...@gmail.com wrote: > Hi All: > > I used Pro*Cobol to compile a .pco file to .exe file . > > Now i want to accept parameterin console . > Such as : > In windows command window: > C:\>MyProgram.exe parameter1 > > When the MyProgram.exe is Loading. cobol code will accept parameter1 > as > the file name I want to used. > I used ACCEPT ... FROM COMMAND-LINE. but has no effect. > > Somebody can help me?? > > Thanks a lot !! Hi, The following webinks should give you some pointers: http://www.simotime.com/nxcsys01.htm http://www.simotime.com/simoexec.htm Kellie.
Post Follow-up to this messagePowered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.