Retriveing massage from submited job in CLP
I have CLP and a cobol program. CL program calls the cobol program in Batch mode by doing SBMJOB. The cobol program processing 1000 records from a database file. If it founds errorneous record in the time of processing, then it stops processing with a system generated error massage and control go...
I have CLP and a cobol program. CL program calls the cobol program in Batch mode by doing SBMJOB. The cobol program processing 1000 records from a database file. If it founds errorneous record in the time of processing, then it stops processing with a system generated error massage and control go...
CL/400 with Looping ?
Hi friends, please help me, I have a looping on this CL ?, this statements below is correct ?, at the first time when the tape is unavailable I receive the e-mail, but on the second time when the tape is available I receive too this same e-mail. [strong]1800 IF COND(&MSGID = 'CPF6760') THEN(DO)...
Hi friends, please help me, I have a looping on this CL ?, this statements below is correct ?, at the first time when the tape is unavailable I receive the e-mail, but on the second time when the tape is available I receive too this same e-mail. [strong]1800 IF COND(&MSGID = 'CPF6760') THEN(DO)...
Delete Spool Files of 30 users (Starting with OP) using Generic Name i.e. OP*
Every 3 moths we are deleting Spool files of users Starting With OP, on iSeries System using the below Program and a Display File. This activity is performed after the Spool Files (Which needs to be deleted) are saved on Tape using BRMS. *************** Beginning of data...
Every 3 moths we are deleting Spool files of users Starting With OP, on iSeries System using the below Program and a Display File. This activity is performed after the Spool Files (Which needs to be deleted) are saved on Tape using BRMS. *************** Beginning of data...
COBOL: Is it possible to apply a different Pic clause to a single variable?
Is it possible to use a different Pic clause from a single variable? based on the condition. DEBIT PIC ZZZZZZZ,ZZZ,ZZ9.99 PIC ZZZ,ZZZ,ZZZ,ZZ9.99 For example When true...
Is it possible to use a different Pic clause from a single variable? based on the condition. DEBIT PIC ZZZZZZZ,ZZZ,ZZ9.99 PIC ZZZ,ZZZ,ZZZ,ZZ9.99 For example When true...
How to copy source code of Pgm into Flatfile in COBOL
I want to read the one of the pgm's source code through my another program. So anyone plz suggest me how can i read the source code?
I want to read the one of the pgm's source code through my another program. So anyone plz suggest me how can i read the source code?
OVRDBF
In a single CL/400 program, is it possible to declare physical file File1, then read a record and later writing the record value onto the DSPF using OVRDBF with in a same CLP? Software/Hardware used: Iseries
In a single CL/400 program, is it possible to declare physical file File1, then read a record and later writing the record value onto the DSPF using OVRDBF with in a same CLP? Software/Hardware used: Iseries
CL/400 WITH RESTART OPTION
Hi friends, How can I make a CL/400 with this situation, a CL/400 receive a parameter like ('00010') identifying the first process. If the first process ends with error I can start again initiating by ('00020') or ('00030') or ('00040') ? This parameter inform what process start, exemple: [00010] ...
Hi friends, How can I make a CL/400 with this situation, a CL/400 receive a parameter like ('00010') identifying the first process. If the first process ends with error I can start again initiating by ('00020') or ('00030') or ('00040') ? This parameter inform what process start, exemple: [00010] ...
How can I find out my System IP Address through CL/RPG?
I would like to know my system IP-Adress , to validation with User name and IP-Address.
I would like to know my system IP-Adress , to validation with User name and IP-Address.
Check if the file is locked
Hi, How to check in CL that the file is locked. I want to do some operations after checking if the file is locked or not.
Hi, How to check in CL that the file is locked. I want to do some operations after checking if the file is locked or not.
Convert Spool file to DB file
Hi, I have a spool file which I created by WRKACTJOB (*print).. Is it possible to convert the spool file format to a database file..... What does an OVRPRTF command do ...? Thanks, Yogesh
Hi, I have a spool file which I created by WRKACTJOB (*print).. Is it possible to convert the spool file format to a database file..... What does an OVRPRTF command do ...? Thanks, Yogesh
When I call CL by 3 parm. (' ') change to (')
When I call CL by use 3 parm like this command = CALL PGM(CTLMNUCUP) PARM('MENUA' '1' 'CALL PGMA ('')') In pgm it show Parm3 = 'CALL PGMA (') What the method I can solve? thk u.
When I call CL by use 3 parm like this command = CALL PGM(CTLMNUCUP) PARM('MENUA' '1' 'CALL PGMA ('')') In pgm it show Parm3 = 'CALL PGMA (') What the method I can solve? thk u.
What & Why do we use FMTDTA Command?
I would like to know about Format Data Command in detail. What is the main purpose of this command and in which case shall we use this . Give me clear information . Thanks in Advance. * AddThis Social Bookmark Button
I would like to know about Format Data Command in detail. What is the main purpose of this command and in which case shall we use this . Give me clear information . Thanks in Advance. * AddThis Social Bookmark Button
CL/400 Certification
Hi, Is there any CL/400 certification for professionals. If anyone knows please let me know.
Hi, Is there any CL/400 certification for professionals. If anyone knows please let me know.
Update a flat file through CL
Hi, I have copied a message from MSGQ into a CL variable. Is it possible to write that message in a flat fiile through CL.
Hi, I have copied a message from MSGQ into a CL variable. Is it possible to write that message in a flat fiile through CL.
How to Retrieve MSGW status in WRKACTJOB in CL variable
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...
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...
Need a CL to enable vendors userids on the AS/400
We have a robot job the disables vendor userids at 18:00 and 06:00 respectivley. Would like to write a CL to enter in a list of ids that need to be enabled and run the job. Instead of enabling each id each morning. Sometiimes there can be quite a few on 4 different systems. Please help.
We have a robot job the disables vendor userids at 18:00 and 06:00 respectivley. Would like to write a CL to enter in a list of ids that need to be enabled and run the job. Instead of enabling each id each morning. Sometiimes there can be quite a few on 4 different systems. Please help.
List of Outfiles
I've seen a list of the System Supplied Outfiles in one of the manuals. Can anyone direct me to that manual ? Thanks, Bill Poulin
I've seen a list of the System Supplied Outfiles in one of the manuals. Can anyone direct me to that manual ? Thanks, Bill Poulin
Comparing ID and password in an AS/400 login screen
Dear friends iam quite new to this AS/400 . could you please let me know how to compare the id and password in a login screen..how to connect the cl program and display file to perform login operation .Do i need to write rpg code for that ..Pls help me out with this code in detail ...
Dear friends iam quite new to this AS/400 . could you please let me know how to compare the id and password in a login screen..how to connect the cl program and display file to perform login operation .Do i need to write rpg code for that ..Pls help me out with this code in detail ...
CL/400
I would like to convay my Thanks ReshmaG & Gilly400. My main requirement is I have a Physical file called PF1.On this there are 20-logical files are depended . I have changed some attributes on my PF1. Now I want to recompile all the Lgical Files , which are depended on PF1. I am writing code...
I would like to convay my Thanks ReshmaG & Gilly400. My main requirement is I have a Physical file called PF1.On this there are 20-logical files are depended . I have changed some attributes on my PF1. Now I want to recompile all the Lgical Files , which are depended on PF1. I am writing code...


