Cl program that reads a datafile for ftp
i need an example of cl program that reads a file containing ftp commands and executes the commands in their arrival sequence. thanks.
i need an example of cl program that reads a file containing ftp commands and executes the commands in their arrival sequence. thanks.
Unable to over ride a PF member
Hi, I made a cl program and in it I over ride a pf member, clrpfm then call my rpgle program. I can't write on my member but instead it writes on the primary member and reads it. seems the member that is used is the the primary member and not the member that I over rides.
Hi, I made a cl program and in it I over ride a pf member, clrpfm then call my rpgle program. I can't write on my member but instead it writes on the primary member and reads it. seems the member that is used is the the primary member and not the member that I over rides.
CL/400 command for Exit Point or Exit Programs
please advice any CL command is there for finding the information regarding exit points and exit programs.
please advice any CL command is there for finding the information regarding exit points and exit programs.
CL/400 - How to convert Spool file to Notepad
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...
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...
How to check if email option is enabled on a AS/400 server
How to check if email option is enabled on a AS400 server
How to check if email option is enabled on a AS400 server
Send a break message to multiple users
How to send a break message to multiple users.SNBRKMSG has the option to send it only to worksations.
How to send a break message to multiple users.SNBRKMSG has the option to send it only to worksations.
ALCOBJ scope
I want to allocate the dataarea by using ALCOBJ command and i am confused the in selecting the scope. Can anyone explain me abt the difference betwwen JOB scope and THREAD scope in details ?
I want to allocate the dataarea by using ALCOBJ command and i am confused the in selecting the scope. Can anyone explain me abt the difference betwwen JOB scope and THREAD scope in details ?
Maximum number of CL variables with IBM i 6.1
What is the maximum number of variables that you may define using the DCL command in a CL program on an IBM i version 6.1 system? Also: Where is this documented, if you know? I couldn't find it in the online help, Information Center, or CL Programming PDF. Thanks!
What is the maximum number of variables that you may define using the DCL command in a CL program on an IBM i version 6.1 system? Also: Where is this documented, if you know? I couldn't find it in the online help, Information Center, or CL Programming PDF. Thanks!
RPG/400 - CL command to search a record like CHAIN opcode in RPG
Please advice we have any command there in CL to search or find a record like CHAIN opcode in RPG.
Please advice we have any command there in CL to search or find a record like CHAIN opcode in RPG.
RPG/400 - How to check if record is reaching end of the file in CL
Please advice me how to chck record is reaching end of the file in CL.
Please advice me how to chck record is reaching end of the file in CL.
Unable to override a PF member
Hi, I am trying to override a physical file using CL. The CL program is being called by a CBLLE program. In the CBLLE program, I want to process the overridden member.But,all the processing is going on the first member only.It looks like as soon as the CL program terminates DLTOVR gets executed...
Hi, I am trying to override a physical file using CL. The CL program is being called by a CBLLE program. In the CBLLE program, I want to process the overridden member.But,all the processing is going on the first member only.It looks like as soon as the CL program terminates DLTOVR gets executed...
Not able to override a database file in CL
Hi, I am trying to override a physical file using CL. But,when I go and delete the override, I get an exception that it was never overriden. :( Any help will be highly appreciated
Hi, I am trying to override a physical file using CL. But,when I go and delete the override, I get an exception that it was never overriden. :( Any help will be highly appreciated
CL problem with purge
The below code was written to automatically purge files once in 2 months.The problem here is that there are months with 30,31 and 28 days so while deletion some files may be left out.Can this be rectified. CHGVAR VAR(&PYD) VALUE(&PYC) CHGVAR VAR(&PMD) VALUE(&PMC) CHGVAR ...
The below code was written to automatically purge files once in 2 months.The problem here is that there are months with 30,31 and 28 days so while deletion some files may be left out.Can this be rectified. CHGVAR VAR(&PYD) VALUE(&PYC) CHGVAR VAR(&PMD) VALUE(&PMC) CHGVAR ...
MSGW
Thank You for your reply But I need the process how I can write a program in order to get all the process to be done that is, giving opt7 & reply 'G' for a MSGW job. Or can I have any other process to do the same that means sending a reply to a MSGW job in RPGLE or CLLE or by any other process in...
Thank You for your reply But I need the process how I can write a program in order to get all the process to be done that is, giving opt7 & reply 'G' for a MSGW job. Or can I have any other process to do the same that means sending a reply to a MSGW job in RPGLE or CLLE or by any other process in...
ftp rpg
Hi I have called a program which would read the contents of the FTPLOG file member for successful transmission and sets an error flag ERR accordingly.Now i need to pass this value from the RPG to CL and use it to send a notification CALL PGM(FTPLOG) IF ...
Hi I have called a program which would read the contents of the FTPLOG file member for successful transmission and sets an error flag ERR accordingly.Now i need to pass this value from the RPG to CL and use it to send a notification CALL PGM(FTPLOG) IF ...
ftp in As400
OVRDBF FILE(OUTPUT) TOFILE(*LIBL/FTPSRC) + MBR(FTPLOG) FTP RMTSYS('123.4.5.678') DLTOVR FILE(INPUT OUTPUT) Can you let me know if the above code would write the FTP transmission...
OVRDBF FILE(OUTPUT) TOFILE(*LIBL/FTPSRC) + MBR(FTPLOG) FTP RMTSYS('123.4.5.678') DLTOVR FILE(INPUT OUTPUT) Can you let me know if the above code would write the FTP transmission...
How to strip comments from CL program?
Anyone know of a utility that will strip comments out of a CL program? We have many programs with more comments than actual code (for history purposes) and I'd like to see just the actual code. And no, I don't want to RTVCLSRC and lose indentation, etc.
Anyone know of a utility that will strip comments out of a CL program? We have many programs with more comments than actual code (for history purposes) and I'd like to see just the actual code. And no, I don't want to RTVCLSRC and lose indentation, etc.
MSGW in WRKACTJOB
How to end a job in MSGW how we can give in a program all the proces to give OPT-7 in front of a job which is in MSGW & giving 'G' to end that in RPGLE /CLLE progrm that too in a scheduled time
How to end a job in MSGW how we can give in a program all the proces to give OPT-7 in front of a job which is in MSGW & giving 'G' to end that in RPGLE /CLLE progrm that too in a scheduled time
CL AND RPGLE
can i call an rpgle prog from a cl by passing parameters from cl. Also how do i debug these two sources which are of different types.I am not able to use strisdb to link the modules.
can i call an rpgle prog from a cl by passing parameters from cl. Also how do i debug these two sources which are of different types.I am not able to use strisdb to link the modules.


