I have to execute 12000 CL Commands one by one..
So, I have created a file called COMMAND.
This file has only 1 field called STRING.
This file had 12000 records, and all these records are CL Commands (ex: CALL PGM(PGM1)), etc)
I have written a CL which will read all the record and do sbmjob..
But it is not working...
Plz help me to exexute all these 12000 commands..
hi guys i am new for sqlrpgle, please suggest me good websites
and theory and coding. plz plz its very urgent.
If I want to execute Sftp commands(LS & GET) stored in
Physical file from CL program automatically...Can u Plz
tell me how can I do this?...How the script will look??
THANX FOR NY HELP...
Modules in S1
M1 having two procedures
: ADD, SUB
Current Binder Language
I need to add one new Module to the Service Program M2
having one procedure ‘MULT’
How to add this new module to the service program S1 ? If I
need to recreate the service program again, Do I need to
mention the Module M1 again while recreating along with new
There is no Binding Directory.
Binder language structure will be like this
what is meant by object lock requests,held locks and locks
waiting to be applied(wrkobjlck)
why should we apply for locks.Please explain sir.
all i need to know about cmpseqdat parameter in cmppfm, how
it works and can we retrieve line sequence and date from the
Hello, I have created a CMD type object. In one of the
fields in Display file , I would like to see All the Source
files present by pass the name of Library.
Tried using CHoice(Keyword) and Choicepgm on PARM , but
doesn't seems to be working.
Any help please..
1)In a pf if we delete a record then how to insert a new
record at the same place in that pf?? any logic or code?
2)A batch job is taking a lot of time to run,found that it
is going into loop and wrapping up so how to skip that loop
and process the job without changing the code?
3)In which scenario C D I R comes and C D G F comes in a
4)If a job came to error while processing a file how we can
know at which record the error hit and how to skip that
record and process other records without changing program
WHAT is STORED PROCEDURE CONCEPT IN AS400 WITH EXAMPLE?
Can any one explain the basic things about RLU and Printer
Files and their Definitions for both and why are they
used,i'm a newbee so please help me out
I have created a command that display Source file and
library. Now i want that when i enter library name and
press f4 on Source file, pgm should display all the PF-
SRC's in that Library. For F4 option i have used Choice
program but since only limited paramters are passed in
Choice pgm i am not able to paas library name and further
can't call a pgm that will display list of Source files.
Below is the Code snippet for CMD type object :-
CMD PROMPT('Source Scan for HUB Standard')
PARM KWD(SOURCE) TYPE(*CHAR) LEN(1) RSTD(*YES) +
VALUES(N A) MIN(1) +
PARM KWD(SRCFILE) TYPE(FILE) RSTD(*NO) +
FILE: QUAL TYPE(*NAME) LEN(10) RSTD(*NO) EXPR
QUAL TYPE(*NAME) LEN(10) DFT(*LIBL)
SPCVAL((*LIBL)) EXPR(*YES) PROMPT
Below is the Choice pgm:-
DCL VAR(&PARM1) TYPE(*CHAR) LEN
DCL VAR(&PARM2) TYPE(*CHAR) LEN
IF COND(%SST(&PARM1 1 10) = 'CHOICE '
%SST(&PARM1 11 10) = 'SRCFILE '
(%SST(&PARM1 21 1) = 'C' *OR %SST
21 1) = 'P')) THEN
/* (%SST(&PARM1 21 1) = 'C' *OR %SST
(&PARM1 + */
CHGVAR VAR(&PARM2) VALUE('Name, F4 for
IF COND(%SST(&PARM1 1 10) = 'CHOICE ' *AND
%SST(&PARM1 11 10) = 'SRCFILE ' *AND
%SST(&PARM1 21 1) = 'P') THEN
CHGVAR VAR(&PARM2) VALUE('Name, F4 for
CALL PGM(GTSQL) PARM
Thanks in Advance for looking into.
. How to know why the OPM job is in MSGWAIT state?..WHAT
COULD BE THE REASON FOR it?
In AS/400 projects in Companies whats the meaning of
production support team.what production support involves.also
what work does development,maintenance involve what are the
other teams or processes that are available for as400 project.
load all subfile logic in sqlrpgle and when updating
particular record it must be lock form other jobs (not a
Write a logic program for knowing the repeated number of a
vowels in a given program?
The content of Physical file is as below:
GET 01100901.CSV ramndk/ECP505.EC0110090 (REPLACE
Thw above commands will get executed when we call STRTCPFTP
from CL program....
Now if I want to use SFTP what can be the solution?
plz reply in detail....Thank you for ny
I m using RPG/ILERPG to download...