|
Chester, to do such a thing you can write your own comand processor. One ready made can be found at www.mcpressonline.com; it is an article wriiten by Gene Gaunt. Otherwise you have to use the Send Programme Message (messege type *RQS) and Receive Programme Message API's in this order without any other instruction. To retrieve a called command use the Retrieve Request Message API. Regards, Carel Teijgeler *********** REPLY SEPARATOR *********** On 17-2-03 at 12:01 Hood, Chester wrote: >I have a need in a CL program to capture the complete command that was >entered to execute the CL program. What I think I am looking >for is a way to programmatically "press F9" and capture the result. I >cannot find any interface to do this .... is it possible? >Some obscure API maybe? > >A bit more information ... there is a command definition for this CL >program that includes prompting for optional operands. The >user enters the command name and is prompted for the other operands; in >the job log only the "originally" entered operands are >present; those that were optional are not in the job log, so since F9 uses >the joblog to retrieve previous command, it seems F9 >would not retrieve all operands, however, this seems to be in conflict >with normal interactive operation. For this specific case: >operator enters "T1 DEVICE(TAP02)" and is prompted for OPTION. Joblog >shows "T1 DEVICE(TAP02)" but as CL program begins it is with >"T1 DEVICE(TAP02) OPTION(A)" because operator was prompted for OPTION and >filled it in. > >Thanks for any advice ... Chester Hood >_______________________________________________ >This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list >To post a message email: MIDRANGE-L@xxxxxxxxxxxx >To subscribe, unsubscribe, or change list options, >visit: http://lists.midrange.com/mailman/listinfo/midrange-l >or email: MIDRANGE-L-request@xxxxxxxxxxxx >Before posting, please take a moment to review the archives >at http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.