• Writing to a flat file/stream file in a CL program

    Can we write to a flat file/stream file or both, a variable value using CL program?

    ten20081,150 pointsBadges:
  • Simulate a key stroke using CL on an AS/400 system?

    Just curious, but is there a way to simulate a key stroke like the >enter< key within a CL prog on an AS/400 system? Thanks.

    lotofbad205 pointsBadges:
  • Write a CL Program in iSeries

    Hello, Where do I write a CL Program in the iSeries? Step-by-step. Thanks!

    Querys100 pointsBadges:
  • Can anyone give me a link for learning basics of CL programming

    Can anyone give me a link for learning basics of CL programming?

    Operations in AS40085 pointsBadges:
  • How to retrieve system name on which I am working in AS/400?

    How do I retrieve system name on which I am working in AS/400?

    M265 pointsBadges:
  • Can I write a program in CL to update a record on a database file?

    Hi, I am not familiar with RPG. Is it possible to write a program in CL to update records in a database file? I have thought about SQL, however I do not have any SQL front end installed on the AS/400.

    Alanyegambaram15 pointsBadges:
  • Inside a running CL program can you find the lib that the program is running from?

    Can you find in a running CL program the lib that it was started from? For example in a C program you can get the library name from argv[0].

    mrlchile50 pointsBadges:
  • Is it possible to get an alert when database page faults exceeds a certain amount.

    Is it possible to get an alert when database page faults exceeds a certain amount. Iam referring to the page faults which appear when we give the WRKSYSSTS command.  Or write a pgm which could monitor the page faults and sent an alert. 

    JohnsonMumbai1,160 pointsBadges:
  • How to end called-from job and return to menu

    Scenario: From a menu, user runs vendor-supplied program A.  PGM A calls user written PGM B for data validation.  If program B discovers invalid data, it will issue an error message, then end itself and PGM A, returning the user to the menu. Problem:  How can PGM B end itself and PGM A without...

    WoodEngineer6,765 pointsBadges:
  • Nondisplay attribute use in AS/400

    How to use nondisplay attribute to display an error in SDA

    nimit235 pointsBadges:
  • iSeries, AS/400 CL batch program

    I have a condition in an iSeries CL program where, if the condition is false, I want to abort the program. But, I want the system to treat it like an abnormal termination. Not like a logic problem and I just ENDPGM. The job following this first program needs to see 00 to indicate the first program...

    Pgmr4660 pointsBadges:
  • Connect Direct File transmission

    How to confirm whether the file has fully transmitted from source system(say mainframe) to iseries. I know how to check manually using wrkoutq. Mainframe is transmitting FileA to iseries. File transmission itself will take 1 hour to complete or sometimes may take upto 2 hours. iseries job should...

    anuppdas105 pointsBadges:
  • How to create ‘n’ number of userprofiles from CL Program

    How to create 'n' number of userprofile from CL Program?

    Lsivabe85 pointsBadges:
  • Export multiple files to Excel using CL

    Hello, I have these queries on a job schedule now and I want to export them to Excel using CL. PGM RUNQRY MYENTRIES1 RUNQRY MYENTRIES2 COPYTOIMPF FROMFILE(MYLIB/MYFILE1) (MYLIB/FILE2) ENDPGM Where do I send these two files to? And can I run both queries this way?

    Querys100 pointsBadges:
  • CL or EXIT program to find iSeries navigator users

    How can I find iSeries navigator users? Is there any EXIT program or can I use any CL for this?

    Maltaf65 pointsBadges:
  • CLP Programming

    PGM DCLF FILE(AMITLIB/STUDPF) LOOP: RCVF RCDFMT(STUDRRC) MONMSG MSGID(CPF0864) EXEC(GOTO CMDLBL(END)) SNDUSRMSG MSG(&NAME) OPNQRYF FILE((AMITLIB/STUDPF)) QRYSLT(*ALL) GOTO CMDLBL(LOOP) END: ENDPGM it displays only the first data in the file. how to display all the records present in the file?

    jainamit380 pointsBadges:
  • Colored CL Source

    How do you insert a hexidecimal value in a CL program to change the color of the source using SEU?

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

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

    Sms121185 pointsBadges:
  • CL Back up job failing

    I have a backup job which fails to back up the first 4 objects and I believe it's down to my programmer bad programming. This program:- 2100      PGM PARM(&LEDGER)    2200      DCL VAR(&LEDGER) TYPE(*CHAR) LEN(2)    2300      DCL VAR(&OBJLIB) TYPE(*CHAR) LEN(10)   ...

    Guy553435 pointsBadges:
  • creating VL, PO, data selection for CL

    Hi, Is it possible to create VL, PO, data selection for a CL program?

    VJayashree185 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