How do you end a cobol program that calls a menu(cl)?
I have a menu that calls another menu. Before the first menu calls the second menu it calls a cobol program which reads a table to verify that the user attempting to access the second menu has authority to the second menu. If the user has authority to the second menu, the cobol program calls the...
Answer Question
| May 8 2008 8:07 PM GMT
| asked by
Cembry
COBOL, CL
Command Source Reference Information
HELP! I'm trying to find information regarding CMD Source Programming. A Programmer's, or Reference Guide, something like that. Apparently IBM is full of idiotic support people and no one has any idea what I'm talking about. I can't find anything on the IBM Publib site. Can someone help?
View Answer
| May 7 2008 2:29 PM GMT
| asked by
ShatteredRaven77
CMD, CMD Source, CPP
AS400 to Windows control application
Hi there, I am automating a AS400 based process. The process gets inputs from notepad files on Windows server.After I have processed these files through my RPG, CL programs, I need to take following stepsI have 14 files in a windows folder. 1. Create a new folder on windows server.2. Move those...
View Answer
| May 7 2008 0:57 AM GMT
| asked by
Nutan
AS/400, RPGLE, RPG
Error when executing RUNSQLSTM from CL program
I am trying to use the RUNSQLSTM command. I get the error message "statement not allowed"Not really trying anything fancy.In CL program RUNSQLSTM SRCFILE(jwe/QCLSRC) SRCMBR(SQL1) + COMMIT(*NONE) In SQL1 I haveSELECT mstid, ...
View Answer
| May 6 2008 3:32 PM GMT
| asked by
Tcwalls
AS/400, SQL, RUNSQLSTM
I am not able to call CL Programe from within RPG Programme. I am using free as400 connection from pub1.rzkh.de Please Suggest
when i am calling a clle programe from rpgle it gives cannot resolve object as the caled programme did not found but the called and caling programme bothe are present in the current library, also it gives same error now for RPg called programme. The compilation to form a programme fom the module...
View Answer
| May 4 2008 2:05 AM GMT
| asked by
Agg harish sag
cannot resolve object, CLLE, CL
Programmatically place outq on hold when empty
Hi, I have been tasked with writing a CL program that will be run every night that releases a held Outq and allows the contents to go through then, put the outq back on hold once there are no more spool files in it. Is there an API or something I can use in a CL program that will check for an...
View Answer
| May 2 2008 2:08 PM GMT
| asked by
Ronnieb34
OUTQ, CL
Batch Job Ends without Calling Program on AS/400 V5R2M0
Hi all,I have a batch job 'JOB1' which should execute a command CALL LIB1/PGM1.Here PGM1 is CL Program. I want to debug PGM1.I submitted thru SBMJOB JOB(JOB1) HOLD(*YES) CURLIB(LIB1). All other are default values for SBMJOB.I did STRSRVJOB & STRDBG. When I released Job, I set Break Point at the 1st...
View Answer
| May 2 2008 9:12 AM GMT
| asked by
NarasimhaReddy
AS/400, iSeries, CL
Communications status
I am trying to retrieve, within a CL program, the information under the WRKJOB command - with OPTION(*CMNSTS) selected.I am successfully using the API QUSRJOBI in a CL program to retrieve information such as Current User but I can't see any reference that looks like the Communication Status panel....
View Answer
| Apr 30 2008 9:30 AM GMT
| asked by
Lesdurham
AS/400, CL, QUSRJOBI
SQL In CL/400
Could it possibleto write SQL in CL/400 Programing?
View Answer
| Apr 28 2008 7:11 AM GMT
| asked by
VENKYAS400
CL/400, AS/400 and SQL, CL
WRKJOBSCDE
Hi friends, I have a CL and this CL executes the command SNDDST, when this CL is executed like a Scheduled JOB this send doesnt works, but when I call in interative or batch mode, this send works. I PUT BELOW THE DISPLAY JOB Display Job Schedule Entry Details ...
View Answer
| Apr 23 2008 2:32 AM GMT
| asked by
SILVARB
WRKJOBSCDE, CL, SNDDST
User Signed on Notification
Hi. If a user profile already has a CL in the initial program to call parameter and that CL can't be modified to add a sndbrkmsg, is there another way to have a message sent to the admin that a specific user has just signed on to the iseries?
View Answer
| Apr 22 2008 8:30 PM GMT
| asked by
Bsalley
AS/400, AS/400 security, SNDBRKMSG
how to write all the matching records in to antoher file in CL program
hi,i am having a pf in that pf contain many members, using display file i have to search a perticular string in all the members if it is found these matching records want to write into another file this is my requirement. in CL grogram how to do this? using FNDSTRPDM can we do that, please replay...
View Answer
| Apr 11 2008 4:05 AM GMT
| asked by
It doubts
CLLE, FNDSTRPDM, CL
DSPF & SNDRCVF
In a CL, I need to define two files. One file is a display file and the other is a physical file. Then I need to do a RCVF to pass the retrieve data in the display file then use the physical file. When I try to compile the pgm using the RCVF, it does not recognize the variables in the display file...
View Answer
| Apr 2 2008 2:23 PM GMT
| asked by
SOUTHEAST
AS/400, RCVF, CL
DSPF / SNDRCVF
Can I declair two files in one single cl program and use the command SNDRCVF
View Answer
| Apr 1 2008 8:48 PM GMT
| asked by
SOUTHEAST
CL, AS/400 printing, SNDRCVF
Saving spool files from an AS400, restoring spool files to a different AS400
Hello Does anyone have any previous knowledge on how to save spool files on one AS400, (presumably to tape back up), and then perform a restore operation of these spool files on a different AS400. Note that the client is at V5R3. I am hoping that we can do this procedure with C/L programs ? ...
View Answer
| Mar 31 2008 1:34 PM GMT
| asked by
Zenmaster2
CL, AS/400 storage, Spool files
How do I find out how many lines of source code are on the system?
Hello. I'm trying to write a program that will tell me how many lines of source code reside on our system. I figured out the first couple of steps, but it just gets more and more confusing along the way, and I really think there's gotta be a better way to get the information i need. So far, this...
View Answer
| Mar 18 2008 1:52 PM GMT
| asked by
ShatteredRaven77
CL, RPGLE, iSeries development
INDICATORS- Can function keys be defined and looked for in a CL program
Can function keys be defined and looked for in a CL program. IF a CL program is used to run a Query with a prompted select, and the user presses F3, Can I trap this?
View Answer
| Mar 10 2008 9:47 PM GMT
| asked by
Pegasus04
CL, AS/400
RUNSQLSTM
am executing a RUNSQLSTM out of a CL program that run a source SQL statement in a source file of a library. Everytime the statement is executed I get a output spool file of the SQL parmeters and execution results. How can I prevent this?
View Answer
| Mar 6 2008 7:41 PM GMT
| asked by
Abbey
RUNSQLSTM, CL, SQL
Capacity management
As part of capacity management, we need to collect data on disk utilization, cpu utilization, memory utilization of our AS400 servers. Is it possible to retrieve all these information using a program? If yes, kindly provide me the programs to do the same. Is there any other technique that can be...
View Answer
| Mar 3 2008 6:04 AM GMT
| asked by
Srinivas naikk
REXX, CL
call php from cl
Hello,i call a php program from my cl withCALL PGM(QP2SHELL) ...the php is called, but then opens the QSHELL.can i close the QSHELL from my php programm?Or can i call a php programm without starting qshell?btw. can i sent parms back to the cl from php?Thanks for your help i am just starting php on...
View Answer
| Feb 26 2008 4:15 PM GMT
| asked by
Jogisarge
PHP, CL, Qshell


