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

Forum: CLP/CLLE

CLP/CLLE Code Forum

  1. Types conversion in CL?

    Hello all... hope someone can give me a pointer with this: DCL VAR(&DAY) TYPE(*CHAR) LEN(2) RTVSYSVAL SYSVAL(QDAY) RTNVAR(&DAY) IF COND(&DAY *LT 7) THEN(....) When I try to compile this, I get "CPD0711 30 Operands in expression not same type." Since QDAY is a *CHAR, and 7 is not, is...

    Started by benhu, 1 Day Ago 06:05 PM
    • Replies: 2
    • Views: 39
    6 Hours Ago 03:05 PM Go to last post
  2. Question read/ write into a Data Queue

    Apart from using API's QSNDDTAQ & QRCVDTAQ, Is there any command in AS400 to directly read/write into a Data Queue.

    Started by vinothkumar, 12 Hours Ago 08:57 AM
    • Replies: 4
    • Views: 41
    11 Hours Ago 10:05 AM Go to last post
  3. Question How to restore with new library using RSTLIB

    Hi All, Here I have one problem during restoration, if anyone could help that would be great. I am restoring a library via CLLE program in batch. During restoration if we give a new library name in RSTLIB parameter of RSTLIB command then journals and their receivers are not restored. ...

    Started by Nil, 1 Week Ago 02:39 AM
    • Replies: 8
    • Views: 160
    13 Hours Ago 08:17 AM Go to last post
  4. Smile Query problem

    Hi, I've a query with type as *QRYDFN for this, I wanted to see Output Type of a query whether it's going to 1=Display 2=Printer 3=Database file It is possible if we see manually, however in case of many queries it's completely time consuming to see every query manually.

    Started by Nil, September 11th, 2008 12:11 AM
    • Replies: 19
    • Views: 1,223
    20 Hours Ago 01:00 AM Go to last post
  5. MSG Reply from QSYSOPR

    OK, I'm staring at things WAY too long ... what am I missing? This goes into an endless loop and just keeps sending the message to the QSYSOPR. I need to validated to continue or give option to cancel. TapeCheck2: SndPgmMsg msgdta( 'Mount tape and press G-Continue, C-Cancel' ) + ...

    Started by FaStOnE, 2 Days Ago 05:49 PM
    • Replies: 4
    • Views: 86
    1 Day Ago 02:56 PM Go to last post
  6. Red face I need some input please

    Since CL has been discontinued since the late 80's... I'm thinking about removing the CL forum... What do you Think? Jamie

    Started by jamief, 1 Day Ago 07:51 AM
    • Replies: 4
    • Views: 51
    1 Day Ago 09:30 AM Go to last post
  7. Question How to RCVMSG in CLLE

    Hi All, Could any one tell me how to retrieve or receive message in following scenario. Program A is calling program B Program B sends some message using SNDMSG to user (which is retrieved in program B), now when program B finishes it returns to program A. Here in program A I want to...

    Started by Nil, 2 Weeks Ago 06:20 AM
    • Replies: 10
    • Views: 220
    2 Days Ago 01:33 AM Go to last post
  8. Calling a procedure from CL (first attempt at CLLE)

    Ok.. I've created several ILE RPG procedures. I use them all the time in RPG programs. Like many, I use binding directories in the H-specs... nearly all of my procedures involve a return variable. NOW, I have the need to call a procedure from w/in some CL programs. The ILE RPG program returns...

    Started by gwilburn, 1 Week Ago 04:11 PM
    • Replies: 7
    • Views: 148
    1 Week Ago 08:47 AM Go to last post
  9. Post HOw can I chain In CLLE

    I just want to select a particular record in Database file ... I think i can use Runqry DYNSLT ...but that is not the right process i think.. Can any one give me good IDEA THanks in advance venky

    Started by venky2903, 1 Week Ago 11:34 PM
    • Replies: 4
    • Views: 134
    1 Week Ago 11:53 AM Go to last post
  10. FTP Line Wrapping

    Hi Does anyone know how to wrap a line in FTP using an iSeries source file? The maximum length for a PDM viewable source file is 240 but the command may exceed this. Any ideas? Thanks.

    Started by Andygeee, 2 Weeks Ago 06:13 AM
    • Replies: 2
    • Views: 72
    2 Weeks Ago 07:50 AM Go to last post
  11. Reg : Command

    Hi all Is any command is to find how many programs used particular physical file Thanx in Advance magesh

    Started by kmkmagesh, 4 Weeks Ago 05:36 AM
    • Replies: 2
    • Views: 133
    4 Weeks Ago 07:16 AM Go to last post
  12. Post MonMsg CPA2129

    In cleaning up servers that are going to be retired, I have to do a ClrLib on QGPL --- BUT, I get the following message: CPA2129 -- Clearing or deleting system library QGPL. (I C) I have a MonMsg for it... but, it still forces this message. Any ideas on bypassing this?

    Started by FaStOnE, 4 Weeks Ago 02:13 PM
    • Replies: 7
    • Views: 183
    4 Weeks Ago 12:59 PM Go to last post
  13. macro script in CLP?

    hi! I'm new here guys... I just wanna know if its possible to insert a macro script in a clp program that i could call as a program? can i have a simple sample? or there's a better way? thnks u so much.... PGM 'macro script ENDPGM

    Started by etyasan, July 27th, 2010 10:22 PM
    • Replies: 3
    • Views: 206
    July 29th, 2010 09:09 PM Go to last post
  14. printer config like telnet

    I have a project where I send data over to a windows box which then processes it and dispenses drugs. I am able to telnet to a box and send data over successfully. Is there a printer configuration that has same communication properties as a telnet session? Or is there a way that I can program a...

    Started by ted, July 27th, 2010 01:24 PM
    printer configuration, telnet
    • Replies: 5
    • Views: 148
    July 28th, 2010 10:05 AM Go to last post
  15. Opnqryf

    Hello Team, Firstly let me thank you all in advance !!! I have one criteria for selection of records from a file using OPNQRYF.....I need to reteive the records which are of TMZA(file A) *GE &tmz2. TMZA is timestamp in file A and &date is variable declared in CL. Please find my code below :...

    Started by abhishek_ec002, July 21st, 2010 12:45 AM
    • Replies: 6
    • Views: 212
    July 22nd, 2010 04:30 AM Go to last post
  16. without monmsg

    how can we trap error messege in cl other than monmsg?

    Started by rajapandian, July 14th, 2010 08:31 AM
    • Replies: 11
    • Views: 237
    July 16th, 2010 11:00 PM Go to last post
  17. Question How to XLATE in CLLE?

    Hi All, How to achieve in CLLE that XLATE or %XLATE does? My aim is to check if *ALL is coming as parameter in CLLE program, however user can pass either following ways during a call to CLLE *ALL, *All, *aLL, *AlL or *all etc It will not work if I check like this in CLLE, if parameter is...

    Started by Nil, July 10th, 2010 04:09 AM
    • Replies: 4
    • Views: 302
    July 12th, 2010 12:51 AM Go to last post
  18. Question How to check environment variable values using command or is there any way to look

    Hi All, Could anyone please tell me, How to check environment variable values using command or is there any way to look? What is the command to see these variables? QIBM_QSH_CMD_OUTPUT QIBM_QSH_CMD_ESCAPE_MSG These commands are from CLLE program.

    Started by Nil, July 9th, 2010 08:14 AM
    • Replies: 3
    • Views: 194
    July 9th, 2010 10:15 PM Go to last post
  19. Self Deleting Server Cleanup Job

    Has anyone else created such a beast? We're doing a migration of store servers and I'm creating a cleanup routine to push down, clean up and kill itself. Are there any issues with a program deleting itself? Or, do I just submit the job .. run the cleanup ... then submit a delayed command...

    Started by FaStOnE, July 8th, 2010 10:05 AM
    • Replies: 14
    • Views: 247
    July 9th, 2010 05:52 AM Go to last post
  20. *QRYDFN Objects??

    Hey Guys, I have a requirement to identify all the QRYDFN (WRKQRY objects) using a particular File. I mean the file in discussion is going to be changed and so the WRKQRY objects also needs some modifications. Is there a way to identify such objects? Thanks, Pranab..

    Started by kidoman, July 6th, 2010 06:13 AM
    • Replies: 6
    • Views: 248
    July 7th, 2010 01:09 AM Go to last post
  21. Thumbs up Who ended the Subsystem ?

    Hello everyone Is there any way to get the QPED (job details) of the job who ended the subsystem ? :chain-gun: We can get by checking job log through command WRKUSRJOB, but we are having common profile which is being used by so many people. So, its difficult to track by checking joblog. ...

    Started by abhishek_ec002, July 3rd, 2010 02:30 AM
    • Replies: 5
    • Views: 194
    July 4th, 2010 10:18 PM Go to last post
  22. Opnqryf

    Hello fellow head-bangers....:duh I wrote a command to allow users to search through a file looking for specific values with 7 parms. The CPP is a CL using OPNQRYF to select the desired records then, an RPG to print a report which I then display to the user so they can see right away if they...

    Started by redvan, June 22nd, 2010 04:04 PM
    • Replies: 9
    • Views: 274
    June 23rd, 2010 12:14 PM Go to last post
  23. remote command

    Hi all I have a program (CLP) what i want to run in remote system, when i call pgm in local everything is good, but when i use runrmtcmd the program caled, but got error message, decimal data error, but i dont know why, if in local the program working good, before i have problem cause the job...

    Started by Jama, June 22nd, 2010 02:03 AM
    • Replies: 4
    • Views: 214
    June 22nd, 2010 01:27 PM Go to last post
  24. Display CL variable in joblog

    How can I get the value of a CL program variable to display in the batch job's joblog without entering debugging mode? Anyone? Bueller? Thanks, John

    Started by johnmauro, June 16th, 2010 07:26 AM
    • Replies: 5
    • Views: 325
    June 19th, 2010 01:15 AM Go to last post
  25. A file been read by 2 CL in the same progtram

    Hi Gurus, I would like to know how to solve this problem and how does CL works with files, if 2 CL program is calling the same files. as i tested. once the CLprogram2 finish reading file A and return to CLprogram1. the point of the file will be at the end of file. Thanks

    Started by james8885, June 1st, 2010 11:49 PM
    • Replies: 4
    • Views: 351
    June 9th, 2010 04:05 AM 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