• Can an initial program send a pgm message?

    Is it possible for an initial program (CLP), that runs when a user logs in, to send a message to the queue of the initial menu? *PRV, *EXT and *SAME do not work when specified as the PGMQ.

    BritishGent65 pointsBadges:
  • CPF4131 in a CLP

    I know all too well about Level Check in an RPG. Today we had a CLP (doing SNDRCV of a screen file)get this error. Is this something new or merely so rare to get this in a CLP? I recompiled and all seems well, so certainly no urgent problem. V6R1.

    aceofdelts1,930 pointsBadges:
  • Converting from System 36 to iSeries V5R4

    I've been landed with a project to convert a System 36 system to iSeries 520 with OS V5.4. I have never worked on a System 36 and do not know where to start. Have looked for some documentation in Red Books but could'nt find anything. Does anyone have something I can use - something like the...

    JohnDavid5 pointsBadges:
  • Select files by wildcard

    An old application running S/36e creates workfiles in library QS36F with the following name-structure: ABC.aaXb where 'aa' and 'b' are random characters, and the 'X' is constant. These workfiles are sometimes not  deleted by the application even if they should have been. Once in a while a...

    DanTheDane2,555 pointsBadges:
  • CL program to transfer a job to QINTER

    hi guys, this is a long one. i use to telnet a client in a virtual dsiplay, using the command telnet rmtsys(clientsys) rmtvrtdsp(operacao). The problem is that if someone is using this display, and you try to access it, you will be kicked out without knowing why. So, i need some help to write a CL...

    Aringarosa295 pointsBadges:
  • Receiving a Message from Message Queue

    I would like to receive the latest message from as400 message queue. Any one can suggest the best possible way.

    Cursorposition195 pointsBadges:
  • MCH4429 error message

    I'm attempting to restrict DFU to inquiry only for specific users. I renamed STRDFU in QSYS to something else, then wrote my own STRDFU command & CLP. The CLP restricts various users as necessary. All 'qualified' users still get full blown DFU, the others get inquiry only. The problem is that I get...

    OldScott10 pointsBadges:
  • What is Open Data path in OVRDBF?

    What is meaning of Share(*yes) In Ovrdbf?

    Sms121185 pointsBadges:
  • iSeries Call to QSYGETPH returns with CPF22E9 – worked ok in OS V5 but now doesnt in OS V6!

    A Clp which calls QSYGETPH with parms 'User' '*NOPWD' 'Profile Handle' 'APIERR' returns with CPF22E9 - User requires *USE Authority. This worked ok before we went to OS V6 at the weekend. I have checked the User Profiles have *USE Authority to each Profile and the programs QSYGETPH,  QWTSETP and...

    AlphaFisher5 pointsBadges:
  • Printing AS/400 ouptputs in diffrent printers,results in different outcome.

    Our server is model 810 running on V5R2. We have a cheque printing program which outputs a spool which is used to print cheques.When the spool file is sent to a LEXMARK 2380/81 2390/91 series printers for print, the data is positioned perfectly in to the cheques. But we have some users who wants to...

    ISU0 pointsBadges:
  • OPNQRY File

    OPNQRYF Query Hi, I am having difficulty in figuring out the syntax for using the special keyword %values with the variables in the OPNQRYF command. Below is the &QRYSLT I used.  CHGVAR VAR(&QRYSLT) VALUE('(DQB8ST *EQ "A" *AND + DQJRCE *EQ %VALUES( ' *TCAT &MARKET + *CAT ' )) *OR (DQB8ST = "D"...

    Ankita135 pointsBadges:
  • populate the values of pagerange on chgsplfa

    i want to be able to programmatically change the values of the pagerange parameter in the chgsplfa command. there are two elements and i want to be able to access them.

    matis75 pointsBadges:
  • RPGLE Getting around recursive calls

    With proceedures I read that recursive calls are allowed.  No time to get into proceedures. clp calls, pgm1. pgm1 add function displays scrn2, then calls pgm2, pgm2 calls pgm3, pgm3 calls pgm4. pgm1 update function calls pgm4. Issue is that pgm4 can call pgm1, pgm2, pgm3, pgm5, pgm6.  On the call...

    NickHutcheson11,380 pointsBadges:
  • AS/400 tab text delimited format of physical file

    Hi , Using i series utility you can download PF as Text Tab Delimited format in your PC.However when I do the same by CLP using CPYTOIMPF using FLDDLM as X'05' or *tab , I get a text tab delimited file which is not completely same as the file downloaded using I series utility.

    Atti123135 pointsBadges:
  • 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:

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