+ Post New Thread
Page 1 of 5
1 2 3 ... LastLast
Threads 1 to 25 of 108

Forum: CLP/CLLE

CLP/CLLE Code Forum

  1. Smile Wrkjobscde

    I need to automate my month end process and one of the areas is to put the jobs on hold in the work job scheduler(WRKJOBSCDE). Does oneone have a suggestion on how I do that. Put the jobs on hold in the work job scheduler during the month end and then releasing the jobs? Thanks, DAC

    Started by dcutaia, 1 Week Ago 11:48 AM
    • Replies: 15
    • Views: 194
    10 Hours Ago 04:40 PM Go to last post
  2. RCVF the second time.

    Hi, I have a cl (not clle) in which I need to read the same file twice. During the conception phase, I thought I could use posdbf to reposition the file after the first go through so I said "no problem" to the powers that be but, I later found out that that is only for opnqryf, ugh! How do I...

    Started by redvan, 3 Days Ago 01:15 PM
    • Replies: 4
    • Views: 70
    2 Days Ago 10:03 AM Go to last post
  3. System IP address

    How do I retrieve the IP address of a machine via a CL program? I checked RTVJOBA but it's not there, so I checked RTVNETA and it's not there either.

    Started by redvan, January 20th, 2010 03:59 PM
    • Replies: 12
    • Views: 350
    2 Days Ago 09:57 AM Go to last post
  4. rtvjoba

    Hi All, How to put job date ( RTVJOBA) to dataare(length 6 of *DEC) using clprogram.? Many thanks in advance!! Sudha..

    Started by sudha, 2 Weeks Ago 03:08 PM
    • Replies: 3
    • Views: 75
    2 Days Ago 09:43 AM Go to last post
  5. FTP automation using CLLE program

    Hi All, How we can achieve FTP using CLLE. Basically I want to transfer library from one system to other by CLLE program. I want FTP to be automated. Please let me know if anyone having knows this. That would be great if sample code is there. Thanks in advance....

    Started by Nil, 4 Days Ago 02:05 AM
    • Replies: 2
    • Views: 50
    3 Days Ago 09:17 AM Go to last post
  6. can an email be sent in different colors ?

    I am looking for a way to send an email with the title having a potentially different color based on a condition. I have a cobol program that calls a Cl that does the following command SNDDST TYPE(*LMSG) TOINTNET((&EMAIL)) + DSTD(&SUBJECT) LONGMSG(&MSGLNE)) The...

    Started by WhiteTiger, 2 Weeks Ago 09:48 AM
    • Replies: 2
    • Views: 95
    2 Weeks Ago 10:43 AM Go to last post
  7. sbmjob

    hi to everyone..... i am generating report daily....we need to give the FROM and TO date through the display file,then it was moved to the file from and to date...using this file we ran one program and the report was generated....and extract the report we send it to clients....it is possible to...

    Started by rajapandian, February 9th, 2010 10:35 AM
    • Replies: 3
    • Views: 165
    3 Weeks Ago 02:10 AM Go to last post
  8. QSH- System command problem

    Hi Guys, Hope you all are doing good.. I found a link in the net which has a program to Output WorkActive Jobs to file. Clicky PGM PARM(&SBS &JOB) DCL VAR(&SBS) TYPE(*CHAR) LEN(10) ...

    Started by kidoman, 3 Weeks Ago 06:58 AM
    2 Pages
    1 2
    • Replies: 25
    • Views: 277
    3 Weeks Ago 04:37 PM Go to last post
  9. Question ALCOBJ a *USRSPC

    I have to modify a CL program to check if a user space(UR5301SPC) still exists after an RPG program runs. I know I can use the ALCOBJ command in CL but what is the CPF indicator I use if the user space still exists. In my CL book I have CPF1002 which is cannot allocate object , CPF1040...

    Started by dcutaia, 4 Weeks Ago 05:11 PM
    • Replies: 14
    • Views: 217
    4 Weeks Ago 11:20 AM Go to last post
  10. Closing the file while using RCVF

    We are reading a physical file in CL using RCVF. Assume we have 10 records in the physical file, we want to read 1 records at a time and delete the record after processing. We want to skip this loop after 5 records and copy the remaining 5 records to another backup file for next day process....

    Started by p.anandraj, 4 Weeks Ago 01:04 AM
    rcvf
    • Replies: 2
    • Views: 131
    4 Weeks Ago 08:00 AM Go to last post
  11. STRPCCMD in batch

    Hi Does anyone know how to code the equivalent of STRPCCMD so that it can be run in batch? I need to execute a pc command from an AS/400 job running in batch. Many thanks

    Started by Andygeee, February 10th, 2010 01:40 PM
    • Replies: 9
    • Views: 171
    February 11th, 2010 11:03 AM Go to last post
  12. Library list

    Hi i had one problem here. Iam having one file in 4 libraries.i need to do file operations( write.update,delete) as per the curlib concepts we get the changes in one library.is it possible to get the changes in all the four libraries?

    Started by rajapandian, February 8th, 2010 09:36 AM
    • Replies: 6
    • Views: 166
    February 9th, 2010 01:25 AM Go to last post
  13. Cpyf

    Every one of us familiar with the CPYF command. We use MBROPT as *REPLACE to replace the records of the To file with the From file records. We use MBROPT as *ADD to add the records of the From File to the To File. There is one less used option called *UPDADD. This option updates the duplicate...

    Started by rajapandian, February 8th, 2010 02:36 PM
    • Replies: 0
    • Views: 111
    February 8th, 2010 02:36 PM Go to last post
  14. Cwbsy1008

    hi When I am trying to change password on V5R3M0 I am getting CWBSY1008 error. Error details - CWBSY1008 - General security error occured rc=8007 can some one help with this? I tried many ways but not helping out.

    Started by instrucrat1, November 4th, 2009 04:26 PM
    • Replies: 2
    • Views: 543
    February 3rd, 2010 05:41 PM Go to last post
  15. File member listing

    Hi, I thought I was being creative when someone said they wanted to see an image of an entry screen for each project and I said: "I'll just capture the screen print and make it a member in a file". (We have an application of Projects with who's working on them, what they're doing and any documents...

    Started by redvan, January 28th, 2010 03:56 PM
    • Replies: 1
    • Views: 144
    January 28th, 2010 04:57 PM Go to last post
  16. SNDPGMMSG *INQ response

    Hi, I'm trying to send a user, whom has requested a particular function, a message and my program needs to receive the response so I'm using RCVMSG but, which parameter of this command will the response be in?

    Started by redvan, January 19th, 2010 12:17 PM
    • Replies: 5
    • Views: 290
    January 22nd, 2010 07:56 AM Go to last post
  17. QSH to Environment Vars

    I know you can call QSH from a CLLE command and have it redirect the output to a .TXT file in the IFS, etc... But, what if I'm just needing a "count" of records based on a where clause to determine if I need to process a file or not? Something like ... QSH( cmd "Select count(*) from XXX" ) >...

    Started by FaStOnE, January 6th, 2009 03:22 PM
    • Replies: 9
    • Views: 501
    January 20th, 2010 01:39 AM Go to last post
  18. Display OVRDBF within ACTGRP

    Hi, A stupid question, but I can't find an answer : How can one display OVRDBF (and PRTF/DSPF...) issued inside an activation group (OVRSCOPE = *ACTGRPDFN) of any job ? WRKJOB/DSPJOB option 15 shows only Overrides at *JOB scope. DSPJOB is able to show overrides of a given ACTGRP... but......

    Started by jmp, January 19th, 2010 04:39 AM
    • Replies: 2
    • Views: 188
    January 19th, 2010 12:24 PM Go to last post
  19. Retrieving Job Information

    I wish to retrieve the job details of a submitted batch with the same CL. Any idea how I can capture that information? For example, SBMJOB CMD(X) Retrieve the Job details for the submitted job above. I want to avoid using the RTVJOBA in the job that is submitted ..

    Started by Huddy, January 14th, 2010 05:42 AM
    • Replies: 17
    • Views: 474
    January 15th, 2010 08:19 AM Go to last post
  20. Exclamation How to get number of records processed by SQL query in CL/CLLE?

    Hi All, I want to get the number of records processed by a query in CL. How can I get it? I am executing below query through RUNSQLSTM in CL. I want to get the number of records deleted by the query from file ABC. DELETE FROM ABC WHERE DATE =20091112 ; Any idea?

    Started by hrishikesh, January 10th, 2010 11:35 PM
    • Replies: 16
    • Views: 667
    January 14th, 2010 03:36 PM Go to last post
  21. Cool Reading a member of a SRCPF

    Hi, What is the way to read/manipulate the contents of a MEMBER in a SRCPF in a CL or Some other language program?.

    Started by kpandian, January 6th, 2010 04:54 AM
    • Replies: 3
    • Views: 224
    January 8th, 2010 10:16 AM Go to last post
  22. DISTINCT keyword in OPNQRYF

    Hi all, I want to know in CL language when use OPNQRYF there is any keyword that is similar to DISTINCT in SQL. I have a file with so many duplicate records and I only want to select one. Can anyone help me? Thanks so much.

    Started by tuandat, December 31st, 2009 02:36 AM
    • Replies: 1
    • Views: 185
    December 31st, 2009 06:08 AM Go to last post
  23. Question Como Cambiar Usuario en un CL

    Buenas, deseo en un CL, cambiar el usuario que lo esta ejecutando por otro usuario con mas derechos , al final regresar con el usuario inicial

    Started by carlos.buitrago, December 23rd, 2009 01:47 PM
    • Replies: 4
    • Views: 346
    December 28th, 2009 01:49 AM Go to last post
  24. Can you perform a RUNQRY over a OPNQRYF with a OVRDBF?

    :duh Help I am not getting the filtering from the opnqryf when it executes the runqry. Also my OVRPRTF does not work either. But, hey, it runs the query. RUNQRY QRY(MCHOBJ/DTMSGFTEMP) OVRDBF ...

    Started by ted, December 21st, 2009 02:48 PM
    • Replies: 5
    • Views: 449
    December 21st, 2009 06:41 PM Go to last post
  25. OS/400 d/b CL/400

    How can we differentiate the OS/400 with CL/400 ?

    Started by Nagendra, May 20th, 2009 02:19 AM
    • Replies: 3
    • Views: 486
    December 16th, 2009 12:11 PM Go to last post

+ Post New Thread

Forum Information and Options

Moderators of this Forum
Users Browsing this Forum

There are currently 1 users browsing this forum. (0 members & 1 guests)

Thread Display Options

Use this control to limit the display of threads to those newer than the specified time frame.

Allows you to choose the data by which the thread list will be sorted.

Order threads in...

Note: when sorting by date, 'descending order' will show the newest results first.

Icon Legend

Contains unread posts
Contains unread posts
Contains no unread posts
Contains no unread posts
More than 15 replies or 10 views
Hot thread with unread posts
More than 15 replies or 10 views
Hot thread with no unread posts
Closed Thread
Thread is closed
Thread Contains a Message Written By You
You have posted in this thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts