• 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,480 pointsBadges:
  • Nondisplay attribute use in AS/400

    How to use nondisplay attribute to display an error in SDA

    nimit235 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:
  • 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:
  • 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:
  • How to read a text file to use for variables in CL

    I have a CL that saves libraries as savf files to later FTP to a storage device. For each library I have a set of commands that specifiy the specific library and the specific savf file for that library. The commands are repeated three times, once for each library/savf file. I would like to have the...

    PTFRANK5 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:
  • OCL to CL conversion

    In OCL you can check a file for activity by using the an If Active command.  Is there something similar in CL programming?

    ASIRCO20 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...

    chakramdhar60 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...

    Abby705 pointsBadges:
  • Declaring the same file twice with two OPENID and reading the same file twice in CL Program

     Is it posssible read a db file while declaring twice with openID     and reading the same file twice

    Chraghuveer25 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