hi, I have one data area called ABC of type *CHAR length is 10 in that i have some data i want pass that data area to RPGLE program as parameter, with in RPGLE program how can i receive that data area values in my program as PLIST and i am just calling this program from command line not from CL...
Thanks! We'll email you when relevant content is added and updated.
Hi, While Job monitoring if any job goes in MSGW status ... then is there any CL command which retrieves the status (exactly MSGW not *ACTIVE) and display it on the screen. Rather than doing manually job monitoring (Pressing F5 for a long time to look into the status of the job) if a CL can run...
Thanks! We'll email you when relevant content is added and updated.
I have been out of programming for a few years, and am pretty rusty. We run a system that the end users have no command line access. Their printers have occasion to go into MSGW status (ie out of paper, etc.). They then have to call to get support to answer the MSGW on the WTR. I am hoping to be...
Thanks! We'll email you when relevant content is added and updated.
We have set up an out queue which is used strictly to email reports. As a result there should never be a lot of reports in the out queue. If there are a lot of reports, this means there is a problem and our reports are not emailing. Is there a way to monitor this queue? I would like a message sent...
Thanks! We'll email you when relevant content is added and updated.
Following
Follow
Thanks! We'll email you when relevant content is added and updated.
I am chasing a simple CL program to check if the currently loaded tape has the data as *expired so it can be written to under BRMS. It shouldn't be that hard but I've searched for literally days and can't find anyone to help.
Thanks! We'll email you when relevant content is added and updated.
I know how to declare a file and read through the data in CL....but how can you reset it? Like setll in CL. I have searched and searched but nothing works. I have closed opend...etc.. Any ideas? Example: PGM DCLF FILEA Loop: RCVF FILEA If %EOF ne '0' DO Goto Loop: Enddo. Now I want to read through...
Thanks! We'll email you when relevant content is added and updated.
Hello, Does anyone have any ideas on how I can list out only the active jobs that have a status of lckw. It would be great if I could get that list sent to a physical file. Any suggestions are welcome. Thanks all.
Thanks! We'll email you when relevant content is added and updated.
I have a PHP script on the IFS which I need to call from a CL program using qp2shell and php-cli. I have the following code which works: CALL QP2SHELL PARM('/usr/local/zendsvr6/bin/php-cli' '/stuff/phpEmailer/index.php') However, I need the path to the PHP script ('/stuff/phpEmailer/index.php')...
Thanks! We'll email you when relevant content is added and updated.
Hello Friends, I have a question. In my current project, I have to covert a spool file to notepad and this notepad I have to send it as an attachment to one email address. Question 1: How can I convert spool file to notepad? Question 2: How can I send a notepad as attachment to one email address?...
Thanks! We'll email you when relevant content is added and updated.
How do I check in CL to see if a spool file exists? I am using IEFFECT (PDF creation software) to create PDF's, but I only want the IEFFECT job to run if a relevant spool file exists.
Thanks! We'll email you when relevant content is added and updated.
One of my old CL Prog uses this cmd TRCJOB MAXSTG(1024) EXITPGM(LIB/MYPGM). After migrating to V5R4 it is not working. Can anybody tell me how to use in V5R4?
Thanks! We'll email you when relevant content is added and updated.
In WRKQRY, there is an option to save the selected records to an output file. Similarly is there a way to use OPNQRY in a CL or in an SQLRPG to directly move the selected records to another file?
Thanks! We'll email you when relevant content is added and updated.
Hi, I want to receive message text of diagnostic message that encounters in program. I want it in a variable so that I can write it into a error log file. Please suggest a way to trap them and to have the text. I tried using RCVMSG but it didn't work out. Thanks!
Thanks! We'll email you when relevant content is added and updated.