• SNDTCPSPLF Problem

    Hello all, I ran into an issue with SNDTCPSPLF.  Here's what the command looks like: SNDTCPSPLF RMTSYS(LOCALHOST) PRTQ('QUSRSYS/THISOUTQ') +                FILE(&SPOOLFILE) JOB(*) SPLNBR(*LAST) +                 DESTTYP(*AS400) TRANSFORM(*NO) DLTSPLF(*NO) Where...

    Dcantwell470 pointsBadges:
  • Can CL Programming language can have level check error

     hi friends in CL Program is it possible that we can get Leve Check Parameter...

    chakramdhar65 pointsBadges:
  • Answer a monmsg from within CL?

    I have a clp that calls on a prog that sometimes issues a error message. manually i would respond with an I to ignore and all is well. Now my question, can I use monmsg msgid(mycpfmsg)to auto reply to this message. I have it monitoring inside the cl for this message since i thought that by...

    lotofbad205 pointsBadges:
  • CLP parameters overwritten

    Hi.  When I call a CLP, either from command line or from a sbmjob with alpha parameters, if I don't fill up the whole string length it's trailing blanks are overwritten by the next parameters.  Example:  PGM PARM(&P1 &P2 &P3)  DCL VAR(&P1) TYPE(*CHAR) LEN(50)  DCL VAR(&P2) TYPE(*CHAR)...

    Jsebastians15 pointsBadges:
  • OPNQRYF HOW?

    HI Everyone,  i need a idea, i have on CL program (pgm parm) a field wndate(8,0) and i need make a opnqryf (file1) compare wndate with mvdatl(8,0), but i only wanted the first 6 position (yyyymm) of both . Anyone give a idea how can i made this? OS/400 in V5R4M1 thanks in advanced.  

    BUG68235 pointsBadges:
  • what mon msg would i use in my CLP when checking for modules under my SBS?

    I have a clp that checks modules/jobs that run under my subsystems.  I'm not sure what mon message it is giving me since none is shown if the job is not active. Only thing that is shown to me is the wrkactjob screen with (No active jobs to display). I would like for when this event occurs, to...

    lotofbad205 pointsBadges:
  • SBMJOB command

    hi, I have a CLP which calls two programs A and B. A is submitted using SBMJOB command. My requirement is that after sucessfull completion of A i would like to condition program B. Is this possible? Thanks, Siddharth

    Sangay635 pointsBadges:
  • CL AS400 iSeries ILE Retrieve Source

    Is there any way to retrieve source for an ILE CL program? I'm looking for a function equivalent to the RTVCLSRC command we use for retrieving the source for a CLP ?

    RIRedCheryl0 pointsBadges:
  • How to run a command within a CLP only during a specific time frame

    I have a pgm that perfroms verious system checks and alerts me if there is a problem.  I would like to add an If statement to exclude some of the checks that fall between a certain time period and have it jump to a specific lable in the script to continue. thus skipping over the commands that do...

    lotofbad205 pointsBadges:
  • using SQL statements…………..

    Hi All, I have a problem. I have a string variable STR which contains SQL statements...... Like insert into lib1/fil1 select * from lib2/fil2 variable STR is changable...means I update the values of library and files at run time...in the variable STR.. I want to execute the SQL statements contained...

    navinnegi45 pointsBadges:
  • Stored Procedures called from RPG programs

    I created a stored procedure that returns a result set. I am using it in a PHP program and all works great. Pass in a account Id and returns all hits for valid records for that account. We have a excel report and subfile screen that runs off a green screen that needs to retreive this same data. My...

    nu40400 pointsBadges:
  • AS/400 file field usage

    is there a way to determine what fields of a file are used in an RPG and CLP program?

    Dhaloo25 pointsBadges:
  • Automate iSeries Backup Checking using CLP

    Hi there, I have created a CLP (I'm not really good at CL) that will run on request via scheduler after a backup has completed. It will check through the Hist Log looking for specific failure msgs. If it finds them it should email oncall support. Not sure if there is a better way to do it but I...

    Stefche20 pointsBadges:
  • Journal

    How can i retrieve a record from a journal so that i can update the said record to another physical file. Because i want to retrieve the record created or updated from the journal so that i can update the other file. Thank you.

    102219790 pointsBadges:
  • CL Program to vary off Network Servers (*NWS)

    Hello Can someone please help me with the following. We have an iSeries with an xSeries attached. The issue is that when we perform a scheduled IPL using the GO POWER menu, the xSeries is not being ended correctly prior to all other subsystems ending and then performing the IPL. What I am looking...

    Malcolm410 pointsBadges:
  • Add more than one parameter in URL called from AS400

    i have a probelm which when my CLP use STRPCCMD to open the URL it pass one parameter only and when i add & to another one , it always read first parameter only, how can i add the secound parameter with using & so HTML can read it

    Yadel5 pointsBadges:
  • Limiting User Abilities

    We have an administrator here that we are trying to limit access on and I wanted to know if anyone else has solved this issue. I spoke with IBM and we have restricted the access to ADDUSRPRF and DLTUSRPRF commands and we have also restricted access to certain user profiles like QSECOFR and QSYSOPR....

    Rayne42710 pointsBadges:
  • DB2 Stored Procedure V4R4 without ILE C/400

    We have an older iSeries running V4R4. We user Rumba/400 for AS400 access, and we've run into a problem using the Rumba ODBC driver for linked server access from our SQL server to our AS400 (The ODBC driver periodically fails when the linked server is used heavily). Because of this, we've been...

    MODMOD0 pointsBadges:
  • Calling CL program fron a C/400 program?

    Dear, I'm very new in C/400 developement and I'm facing an issue. I've some CL program that I would like to call in my C/400 program... Well, ok, I can use the function "error=system(...)"... but my CL program as to return me some information. Here is my CL prgram: PGM PARM(&queue &queue_lib &sens)...

    PierreLG45 pointsBadges:
  • command execution

    thanks a lot!! for the help... but meanwhile i have got another problem...in my project- i have to use COMPILE commands such as CRTPF, CRTCLPPGM, CRTRPGPGM and so on...in a program and this has to be transparent to the user. in CL these programs cannot be used... how can i do this? plz help me out!

    Sairolla0 pointsBadges:

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following