|
This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. -- [ Picked text/plain from multipart/alternative ] Yes is the short answer, but change the END to ENDPGM and loose the dspmsg commands. compile your program, then create a program with the command CMD as the only line, name it using the name you would like for that command, perhaps WA and compile that. Then use the create command CRTCMD command: Create Command (CRTCMD) Type choices, press Enter. Command . . . . . . . . . . . . WA Name Library . . . . . . . . . . . *CURLIB Name, *CURLIB Program to process command . . . FIRST PGM Name, *REXX <The pgm containing the WRKACTJOB Library . . . . . . . . . . . *LIBL Name, *LIBL, *CURLIB <Where is it Source file . . . . . . . . . . QCMDSRC Name <The name of PGM2 Library . . . . . . . . . . . *LIBL Name, *LIBL, *CURLIB <Where is it Source member . . . . . . . . . *CMD Name, *CMD This procedure will create a shorthand command to do WRKACTJOB Which is what I think you are trying to do! Give the command the correct permissions e.g.. to QSYSOPR and QFAXOPR and all they need to do is enter WA on a command line. -----Original Message----- From: Troy Dills [mailto:troypmc@charter.net] Sent: Monday, December 09, 2002 11:48 AM To: MIDRANGE-L@midrange.com Subject: CL Program Hello Group Hope All Is Doing Well I am a system operator (formerly programmer rpg) but I was wondering if I could right a cl something like the following in a CL Program. PGM DSPMSG QSYSOPR WRKACTJOB DSPMSG QFAXOPR END I know this sounds silly but this is something that I have to do in the mornings and I didn't know if it would flip through all the screens fast or would it wait on me to hit enter to go to the next command, plus I would like to enter more commands shown once I learn how to do them. This job is boring and I'm just trying to learn as much as I can. Any and all help will be appreciated. Other than these commands I have nothing else to do except load a printer with paper and change a ribbon. BLA. I've done much more advance work than this and if anyone has any other commands that would deem useful please fill me in. I'm all ears. I can't stand looking at my terminal screen all day doing these same commands over and over again. But I am thankful I have a job (this is just a job) I would much rather have my career back. We are at V4R5 Best Regards Troy Dills The Parnell-Martin Companies LLC 1315 Graham St. Charlotte, NC 28206 Phone 704-375-8651 Fax 704-375-7156 _______________________________________________ This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l or email: MIDRANGE-L-request@midrange.com 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.