Can I run a ".qmc" macro in my Rexx program?



IBM's Command List programming language & Restructured Extended Executor

Can I run a ".qmc" macro in my Rexx program?

Postby Robledo » Thu Mar 10, 2022 1:28 pm

Greetings friends of the mainframe!

I continue to learn in world of Rexx and Macros and today I like to know if I can run a .qmc macro file from my Rexx.

To give you an idea, my rexx is going to collect some form-type data (name, surname, date...) and then it goes and returns from the form to some panels within some transactions in which it inserts this data with the typical "Control +C / Control+V".

It would be a better idea to modify the database directly with the data it collects (which is what I suppose transactions do in my case) but at the moment my knowledges and rights do not allow me to do so hehehe

Thanks you very much in advance! :)
Robledo
 
Posts: 9
Joined: Tue Mar 08, 2022 6:53 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Can I run a ".qmc" macro in my Rexx program?

Postby Pedro » Thu Mar 10, 2022 10:43 pm

run a .qmc macro

You provided some details, but not enough for me. What is a .qmc macro? Also, where is your rexx program being executed from?
Pedro Vera
User avatar
Pedro
 
Posts: 672
Joined: Thu Jul 31, 2008 9:59 pm
Location: Silicon Valley
Has thanked: 0 time
Been thanked: 51 times

Re: Can I run a ".qmc" macro in my Rexx program?

Postby Pedro » Fri Mar 11, 2022 9:10 am

if I can run a .qmc macro file from my Rexx

Perhaps tell us how you currently run the .qmc macro, then maybe we can suggest how to do from rexx.
Pedro Vera
User avatar
Pedro
 
Posts: 672
Joined: Thu Jul 31, 2008 9:59 pm
Location: Silicon Valley
Has thanked: 0 time
Been thanked: 51 times

Re: Can I run a ".qmc" macro in my Rexx program?

Postby Robledo » Fri Mar 11, 2022 11:58 am

Pedro wrote:
run a .qmc macro

You provided some details, but not enough for me. What is a .qmc macro? Also, where is your rexx program being executed from?


Hola Pedro! Me voy a aventurar a escribir en español puesto que por su nombre diria que hablamos el mismo idioma :lol:

Le explico un poco mi idea:

Tendré una Rexx que recogerà unos datos (nombre, apellidos, edad...) y con esos datos necesito ir a unos paneles de una transaccion CICS para tratarlos (crear usuarios en unos entornos y otro tipo de operaciones). Normalmente tenia un miembro en una biblio tipo formulario, el cual rellenaba a mano y después lanzaba la mencionada Macro de formato ".qmc" . Las utilizo mucho aunque no sé si se puede hacer eso de lanzarlas desde una Rexx. Las macros a las que me refiero son las que puedes grabar desde la barra de herramientas del Quick3270 con el simbolo tipico "circulo rojo", que luego puedes lanzar con la tipica "flecha" similar al boton "play" de un cassete.

El camino sencillo seria ir directamente a la base de datos y modificarla (que supongo que es lo que hace la transaccion) pero desconozco hacer toda esa parte, ni siquiera sé como localizar la base de datos y demàs...

También he visto que se pueden hacer macros en miembros dentro del Z pero no se parece nada al lenguaje que me encuentro en las macros que hago actualmente (las .qmc, que se guardan sobre windows) que al abrirlas son tipo script, ejemplo:

HostSettleTime = 3000 ; milliseconds
SendKeys "<Enter>"
Result = WaitForAttrib(13, 69, &H08, &H3C, 3, 3000)
Result = WaitForCursor(13, 70)
Result = WaitForKbdUnlock()


No sé si me he explicado bien en todo... no dudes en preguntarme si puedo aportarte mas informacion o necesitas mas datos, y muchas gracias por haberme respondido.

Recibe un saludo! :)

Cristian Robledo.
Robledo
 
Posts: 9
Joined: Tue Mar 08, 2022 6:53 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Can I run a ".qmc" macro in my Rexx program?

Postby enrico-sorichetti » Fri Mar 11, 2022 12:25 pm

the official language of the forum is english.
posting in a different languge is considered bad manners
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2979
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 160 times

Re: Can I run a ".qmc" macro in my Rexx program?

Postby Robledo » Fri Mar 11, 2022 12:44 pm

enrico-sorichetti wrote:the official language of the forum is english.
posting in a different languge is considered bad manners


Sorry, I did not know. Cordially.
Robledo
 
Posts: 9
Joined: Tue Mar 08, 2022 6:53 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Can I run a ".qmc" macro in my Rexx program?

Postby sergeyken » Fri Mar 11, 2022 7:54 pm

Lewis Carrol wrote:“I said it in Hebrew—I said it in Dutch—
I said it in German and Greek;
But I wholly forgot (and it vexes me much)
That English is what you speak!”
Javas and Pythons come and go, but JCL and SORT stay forever.
User avatar
sergeyken
 
Posts: 326
Joined: Wed Jul 24, 2019 10:12 pm
Has thanked: 5 times
Been thanked: 30 times

Re: Can I run a ".qmc" macro in my Rexx program?

Postby Robledo » Fri Mar 11, 2022 9:23 pm

sergeyken wrote:
Lewis Carrol wrote:“I said it in Hebrew—I said it in Dutch—
I said it in German and Greek;
But I wholly forgot (and it vexes me much)
That English is what you speak!”


I think it's clear now, thanks for your contribution.
Robledo
 
Posts: 9
Joined: Tue Mar 08, 2022 6:53 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Can I run a ".qmc" macro in my Rexx program?

Postby enrico-sorichetti » Fri Mar 11, 2022 10:05 pm

got curious and googled
the most reasonable/credible result I got is
https://www.file-extensions.org/qmc-file-extension
so looks like the topic has nothing to do with mainframes
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2979
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 160 times

Re: Can I run a ".qmc" macro in my Rexx program?

Postby Pedro » Sat Mar 12, 2022 12:45 am

I googled for "qmc site:ibm.com"
and found some hits that seem to be related to IBM MQ, which I know nothing about.
Pedro Vera
User avatar
Pedro
 
Posts: 672
Joined: Thu Jul 31, 2008 9:59 pm
Location: Silicon Valley
Has thanked: 0 time
Been thanked: 51 times

Next

Return to CLIST & REXX

 


  • Related topics
    Replies
    Views
    Last post