Convert an *iso date to *longjul in CLP
I am trying to convert an *iso date to a *longjul date in a CL program so I can subtract 6 days from today. It is crashing with a message “Date contains too many or too few numeric characters.” My code is : Definitions dcl var(&julend) type(*char) len(7) dcl var(&jul) type(*dec) len(8 0) Code cvtdat [...]
Answer Question
| January 7, 2013 11:19 PM
CL Errors, CL Program
I am trying to convert an *iso date to a *longjul date in a CL program so I can subtract 6 days from today. It is crashing with a message “Date contains too many or too few numeric characters.” My code is : Definitions dcl var(&julend) type(*char) len(7) dcl var(&jul) type(*dec) len(8 0) Code cvtdat [...]
Unknown AS400 Submit Jobs
Hi ! When i used WRKSBMJOB to see my submitted jobs, I’m seeing many jobs running there by default.. what are those ???
Answer Question
| January 4, 2013 8:34 PM
AS/400, Submit Job
Hi ! When i used WRKSBMJOB to see my submitted jobs, I’m seeing many jobs running there by default.. what are those ???
How do you transfer from PC excel file to AS400 iSeries
Tried .xls and .pdf to transfer.
Answer Question
| January 3, 2013 2:38 PM
AS/400, Microsoft Excel files
Tried .xls and .pdf to transfer.
CPW in iSeries
Do we have any formula for calculate CPW ? Did the environment size is estimated based on CPW size in iSeries ?
Answer Question
| January 2, 2013 12:08 PM
AS/400, CPW
Do we have any formula for calculate CPW ? Did the environment size is estimated based on CPW size in iSeries ?
How to check for file locks in Batch
Hi, I would like to check for locks on a PF/LF and need to send message to corresponding user. So, I cant use WRKOBJLCK as it will act interactively or Print the locks. Please suggest me if there is any alternative to check for file locks. Thanks, Pradeep
Answer Question
| December 31, 2012 5:43 AM
AS/400, WRKOBJLCK
Hi, I would like to check for locks on a PF/LF and need to send message to corresponding user. So, I cant use WRKOBJLCK as it will act interactively or Print the locks. Please suggest me if there is any alternative to check for file locks. Thanks, Pradeep
AS/400 Record Lock
CL control program Starts commitment control STRCMTCTL LCKLVL(*CHG) CMTSCOPE(*JOB) Calls a complex sequence of RPGLE programs Issues COMMIT Issues ENDCMTCTL A rather complicated series of RPGLE programs: open files for update read records sometimes update records sometimes call other programs sometimes close files Sometimes issue *INLR = On Is there any way that a record [...]
Answer Question
| December 28, 2012 2:22 PM
AS/400, AS/400 record locks, Commitment control
CL control program Starts commitment control STRCMTCTL LCKLVL(*CHG) CMTSCOPE(*JOB) Calls a complex sequence of RPGLE programs Issues COMMIT Issues ENDCMTCTL A rather complicated series of RPGLE programs: open files for update read records sometimes update records sometimes call other programs sometimes close files Sometimes issue *INLR = On Is there any way that a record [...]
How to find the IP address of the system from which user had logged in
How to find the IP address of the system from which user had logged in to AS/400 server?
Answer Question
| December 28, 2012 8:01 AM
AS/400, AS/400 Server, IP address
How to find the IP address of the system from which user had logged in to AS/400 server?
History Logs
Have a question conerning History Logs, since the logs continue to grow, we back the logs up and save them to Tape. However we need to look at some of the logs on the system, here is the issue. We can restore the logs however there is another log with the same name on the [...]
Answer Question
| December 28, 2012 10:31 PM
DSPLOG, OS/400
Have a question conerning History Logs, since the logs continue to grow, we back the logs up and save them to Tape. However we need to look at some of the logs on the system, here is the issue. We can restore the logs however there is another log with the same name on the [...]
SAVLIB parameters
Hello friends, I need to know, How can I use the command SAVLIB and omit Logical Files ? Happy New Year to all.
Answer Question
| December 27, 2012 7:12 PM
AS/400, AS/400 logical file
Hello friends, I need to know, How can I use the command SAVLIB and omit Logical Files ? Happy New Year to all.
AS400, CLLE OPENID Already Exist Error
Hi all. ! OPNID(M1AMC00) for file M1AMC00 already exists. CPF4174 received by procedure NONCLP. (C D I R). I’m getting this kind of error: what will be the solution? Surey
Answer Question
| December 27, 2012 6:00 AM
AS/400, CPF4174
Hi all. ! OPNID(M1AMC00) for file M1AMC00 already exists. CPF4174 received by procedure NONCLP. (C D I R). I’m getting this kind of error: what will be the solution? Surey
Need to email a spool file from a CL program.
We currently use TMAIL to email spool files from CL programs. I looked at SNDDST but I believe you can’t email a spool file using that command. Is there another alternative?
Answer Question
| December 26, 2012 7:55 PM
CL Program, Spool files
We currently use TMAIL to email spool files from CL programs. I looked at SNDDST but I believe you can’t email a spool file using that command. Is there another alternative?
No objects show in save file
Joblog show objects successfully save completed but when use option display save file, no objects inside.
Answer Question
| December 26, 2012 2:12 PM
AS/400, Joblog
Joblog show objects successfully save completed but when use option display save file, no objects inside.
Assimilating QTEMP file in Synon
Assimilating QTEMP file in Synon
Answer Question
| December 26, 2012 12:32 PM
QTEMP, Synon
Assimilating QTEMP file in Synon
action diagram.
HELLO FRIENDS, I have recently got a project in which i have to code the modules through synon. As I m new to this platform, i need a little help regarding the coding which is done in an action diagram. and how to use the built in functions in an action diagram and how to [...]
Answer Question
| December 26, 2012 4:27 AM
AS400 Command, Synon, Synon 2E
HELLO FRIENDS, I have recently got a project in which i have to code the modules through synon. As I m new to this platform, i need a little help regarding the coding which is done in an action diagram. and how to use the built in functions in an action diagram and how to [...]
How to get server permission?
How to server 2003 internet permission?
Answer Question
| December 26, 2012 2:45 PM
Server, Server permissions
How to server 2003 internet permission?
rslvsp function returns null
Documentation for rslvsp points: “A null pointer value means the object was found in a machine context.” But I verified that my user space was created successsful rslvsp(_Usrspc,”userspace”, “QTEMP”, _AUTH_ALL) If it is found in machine context, how can I resolve to it (Have a pointer to the user space)? if is not in a [...]
Answer Question
| December 21, 2012 9:41 PM
API, iSeries, rslvsp function, V6R1
Documentation for rslvsp points: “A null pointer value means the object was found in a machine context.” But I verified that my user space was created successsful rslvsp(_Usrspc,”userspace”, “QTEMP”, _AUTH_ALL) If it is found in machine context, how can I resolve to it (Have a pointer to the user space)? if is not in a [...]
compiling cl program, ownership issues
i added a commment line to a current CL program. when i went to compile it thefollowing error message appeared Owner of object COPPK1 and object being replaced not the same. any ideas?
Answer Question
| December 20, 2012 8:58 PM
CL Program, compling, i series
i added a commment line to a current CL program. when i went to compile it thefollowing error message appeared Owner of object COPPK1 and object being replaced not the same. any ideas?
AS400 Subfile session or device error
DOW *in12 = ’0′ Seton 2526 Write blank Write foot1 WRITE MSGSFC Exfmt sfc01 call ‘L1000C’ These codes are from my program when i’m executing these pgm im getting seesion or device error. I checked with debugging , when the execution comes to the EXFMT line its showing the error.. Pls giv me some suggestion.. [...]
Answer Question
| December 20, 2012 7:33 AM
AS400 Subfile, error
DOW *in12 = ’0′ Seton 2526 Write blank Write foot1 WRITE MSGSFC Exfmt sfc01 call ‘L1000C’ These codes are from my program when i’m executing these pgm im getting seesion or device error. I checked with debugging , when the execution comes to the EXFMT line its showing the error.. Pls giv me some suggestion.. [...]
AS/400 administration certification
i am planning to take AS/400 administration certification test can some one help me with Dumps please
Answer Question
| December 20, 2012 3:20 AM
AS/400 administration
i am planning to take AS/400 administration certification test can some one help me with Dumps please
TCP/IP
I am getting this error on TCP/IP connection. Emails are not going out from AS/400 “2 = TCP connection closed due to R2 retry threshold being run.”
Answer Question
| December 19, 2012 6:12 PM
AS/400, TCP/IP
I am getting this error on TCP/IP connection. Emails are not going out from AS/400 “2 = TCP connection closed due to R2 retry threshold being run.”





