• 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,680 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:
  • 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 frontend installed on the AS/400

    Alanyegambaram15 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:
  • Retrive System value in CCYYMMDDHHMMSS format?

    Hi anyone tell me how to retrive system valule in format CCYYMMDDHHMMSS   in which CC in centuary?

    SMisar130 pointsBadges:
  • Question On CL400

    Through CL code or command how achieve the particular record of Physical File.In a 100 record I just  want to see only 54th record of PF through Cl how? In RPG or ILE we handle through the Chain or in Subfile we use  RRN but in CL i can't do?

    Rpgrpgile20 pointsBadges:
  • Data Structure in CL

    Hi,     Upto my knowledge we cant use data structure in cl... Is it Possible? If it Possible then How?

    22917510 pointsBadges:
  • CL400 & As400

    I have a query related to CL programing and As400. Acutally am very new to CL, i need to create a CL program(using commands) which needs to call a menu,where i need to provide proper values according to the application, then its inturn need to store it in a database file(either a As400 cobol or...

    A645 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:

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