Code Comments
Programming Forum and web based access to our favorite programming groups.Hi, I'm writing an exec which uses a TSO command "lodlib". This command searches for the input argument element in our library management system and displays where it exists. Then it asks for another input. If this secod input is a program name it searches again, else, if the second input is "q", then it quits. I want to just input the first argument, that also through the code, the code should pass a "q" for the second argument automatically. Is there a way to achieve this? Requesting help.. Thanks, dividby0
Post Follow-up to this messageOn Tue, 11 Mar 2008 02:29:04 -0700 (PDT) dividby0 <mithhilarora@gmail.com> wrote: :>I'm writing an exec which uses a TSO command "lodlib". This command :>searches for the input argument element in our library management :>system and displays where it exists. Then it asks for another input. :>If this secod input is a program name it searches again, else, if the :>second input is "q", then it quits. :>I want to just input the first argument, that also through the code, :>the code should pass a "q" for the second argument automatically. :>Is there a way to achieve this? Depends how the program works. Can it be instructed to read from a file instead of the terminal? Does it use PUTGET? Try QUEUEing the responses and see what happens. -- Binyamin Dissen <bdissen@dissensoftware.com> http://www.dissensoftware.com Director, Dissen Software, Bar & Grill - Israel Should you use the mailblocks package and expect a response from me, you should preauthorize the dissensoftware.com domain. I very rarely bother responding to challenge/response systems, especially those from irresponsible companies.
Post Follow-up to this messagedividby0 wrote: > I'm writing an exec which uses a TSO command "lodlib". This command > searches for the input argument element in our library management > system and displays where it exists. Then it asks for another input. > If this secod input is a program name it searches again, else, if the > second input is "q", then it quits. > > I want to just input the first argument, that also through the code, > the code should pass a "q" for the second argument automatically. > > Is there a way to achieve this? I'm struggling to understand what you are trying to do. In fact, I'm wondering why you ask for the second set of input if you just want to implicitly reply quit to it anyway. Graham.
Post Follow-up to this messagePowered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.