• Job Scheduler affecting environment variable

    In CL program I am using QIBM_QSH_CMD_OUTPUT environment variable to direct output to STDOUT and then overriding this to database file. This is to capture logging from sftp server, accessed via batch script. When I run the CL program using SBMJOB from command line it outputs logging to DB file....

    Alleycat20 pointsBadges:
  • Overlay Printing Issue

    I have one overlay that two programs use. When testing I have a very simple CL program with one OVRDBF and two program calls one of which I have commented out because I swithch calls when testing. In trying to print a voucher the main voucher program works fine, I then modify the CL by commenting...

    QTRMaster30 pointsBadges:
  • Updating message files in System i

    Is it possible to add new messages to System i message files from a CL or RPG program?  Instead of manually updating each file with the wrkmsgf command.

    Stacho315 pointsBadges:
  • CL program to CL Command

    With the help of CRTCMD...can i create a command which triggers a small program written by me in background?

    qmaster1,675 pointsBadges:
  • How to strip comments from CL program?

    Anyone know of a utility that will strip comments out of a CL program? We have many programs with more comments than actual code (for history purposes) and I'd like to see just the actual code. And no, I don't want to RTVCLSRC and lose indentation, etc.

    OldSysAdmin945 pointsBadges:
  • Connect to Oracle from AS/400

    I need to connect to an Oracle database from an AS/400 (RPG III/CL program). Because I need to get some data. How can I do it? What do I need?

    Esnu5 pointsBadges:
  • Accessing I/O Feedback Area of DSPF from within CL program

    Is it possible from within a CL program to retrieve/access the I/O feedback area of a display file (the equivalent of retrieving INFDS (positions 401-404) from within an RPG program)?

    Zack265 pointsBadges:
  • CL Journal Checking Program (AS400)

    I would need help to write a CL program that accepts fields: a) From Time b) To Time c) From Date (This should be able to be *CURRENT) d) To Date (This should be able to be *CURRENT) I want to only select updates/deletes/changes to files (i.e. no I/O type access etc) Please suggest.    

    Mani1017130 pointsBadges:
  • AS/400 (Retail) Banking application

    Hi, I'm looking for some details and materials on any AS/400 retail banking application. Information in design level.. You may ask what exact requirement is but as of now I need a model which uses technology RPG, CL, SQL, menu screens, display files etc pls.. Thanks

    itkr125 pointsBadges:
  • How to trap the errors with out using monmsg?

    Is it possible to trap the errors in CL with out using MONMSG.let me explain?

    Nagraj32225 pointsBadges:
  • Graphic to text conversion in AS/400

    i have a program in that program graphic characters are there how to convert graphical character to as400 characters using cl program only.how is it possible in as400 

    madhuchowdary350 pointsBadges:
  • Add Variable Field to Menu

    I wanted to add a field to a menu that is not a constant field, but one that may be populated by a CL program. I have a log on program built that asks for a user ID and some identifying information. From that I obtain their personal information. I'd like to be able, at the top of a menu which...

    Bunk40 pointsBadges:
  • cl which command do we use to update a physical file in CL program?

    which command we use to update a physical file in CL pgm?

    Cyjil10 pointsBadges:
  • How can I list users whose status is disabled on AS/400 ?

    Hello everybody ! I have to make a cl program in order to list users whose status is disabled. I wanted to know if someone had  tips for me. Thanks

    Kilizan15 pointsBadges:
  • Find/Replace/Reformat Text in COBOL or CL400

    As part of a rebranding exercise I need to create a program to find/replace variable length text within a file. I know I can do this easily enough via INSPECT/REPLACE (or maybe QCLSCAN in a CL) but has anybody got ideas about how to reformat afterwards (data in the file is stored typically in...

    Abby7075 pointsBadges:
  • Writing command WJ that will do the same thing as WRKACTJOB?

    need you help once more. I want to create a cl program. instead of wrinting wrkactjob, i want to write wj having the same result. The problem is i don´t know programming, so if somebody could make a clp to me so i could read it and understand it, it would be great. Tanx a lot

    Aringarosa295 pointsBadges:
  • How to send email through RPG IV or CL?

    [strong]I need to send my spool file thru  email [/strong]

    22917560 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:
  • Is there a way a user who is the owner of is userprf enable is disabled id without logging in to the system

    Is there a way a user who is the owner of is user profile be able to enable is disabled id without logging in to the system. Eg. say by using rcmd? using ftp.

    JohnsonMumbai1,260 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:

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