• 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:
  • CL400/OPNQRY

    I HAVE A CASE LIKE THIS IN CL/400OPNQRYF FILE((MADE07/GLM0120)) QRYSLT('(GLFINP *NE 99) *AND (GLPRDC *EQ "AR" *OR GLPRDC *EQ"SW" *OR GLPRDC *EQ "WP" *OR GLPRDC *EQ "LR" *OR GLPRDC *EQ "MD") *and (glbrnc *eq "%substr(&bc 1 1)")') HERE BC IS A FIELD IN DISPLAY FILE I NEED TO filter data according to...

    Zilan85 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:
  • Difference between two strings using CL/400, AS/400, COBOL/400

    I am working on a requirement where in I need to find the numerical difference between two character strings. The two strings are 8 character long and can have spaces as values. The two strings are "from" and "to" fields. I will have to find out the last value used and then subtract it from the...

    Pgsdeb20 pointsBadges:
  • cl/400

    Hi, Good morning my experts.Im kuppi.im working as a software trainee on AS/400 technology.i have also joined with ibmi5 team.im trying to convert date with cl/400 coding.I have taken 2 parameters(like date and date types). A. If suppose date type is j,Now i want to convert date to *MDY format B....

    0 pointsBadges:
  • CL/400 OPNQRYF returning empty records.

    hey there, I got an issue to be corrected. Current CL has and OPNQRYF select which sometimes return blank records. I need to add a condition which should check for such blank query result and by pass a call program. Can you guys help me in giving a hint on which way I can bypass this blank record...

    itkr125 pointsBadges:
  • Check if the file is locked

    Hi, How to check in CL that the file is locked. I want to do some operations after checking if the file is locked or not.

    Cool400115 pointsBadges:
  • AS/400 CL program – MSGW status

    My requirement is I want to ensure that CL program enter into MSGW status after processing all the statements. What are the easiest ways to achieve this? (Without calling any programs from the CL)

    KumarPhani255 pointsBadges:
  • How can I find out my System IP Address through CL/RPG?

    I would like to know my system IP-Adress , to validation with User name and IP-Address.

    Chrisjam95 pointsBadges:
  • How to get the “Named-FIRST MBR” in a CL/400 pgm

    How to access the "FIRST MBR" of a multi-membered file in a CL/400 program. my scenario ------------ I have a multi-membered file called WKSLSP, which has MBRs in the following format either MSPmmddyyn or FDBmmddyyn;(where mmddyy is the JOB-DATE and 'n' is the sequence number) like :- FDB100510A ...

    svankipu560 pointsBadges:
  • To use Arithmetic operations in Cl program

    Hi, i am fresher for AS400.I dont know how to retreive a sysval using arithmetic operations in cl programming and too storing in a dataarea and displaying the result through msg

    S855 pointsBadges:
  • find physical files with large record counts that are unused

    How can I capture the number of records (not file size) for numerous physical files via a cl command in order that I may download the information and find the ones with the largest number of records? I need to free up disk space so I need to find the files that have records but have not been...

    Hayleypatrick5 pointsBadges:
  • Need Help to Write a Code in CL400 to Access All Members of Library in CL400 , and If to find one particular pgm how can i do it ???

    Need Help to Write a Code in CL400 to Access All Members of Library in CL400 , and If I want to find one particular pgm thru the same pgm how can i do it ???(FNDSTRPDM) , possiblity to use it and I want to have one sample code does any one knw's it then let me know it too ! .  

    Kukki40 pointsBadges:
  • Flat file or Physical file in as/400?

    How to know whether a file is physical file or flat file in CL/400?.

    Alicsc370 pointsBadges:
  • CL/400 – I want to know about QRYSLT(Please see below explanation)

    Hi, I am not well versed with code in CL/400, i know the concepts. I want to know what is he doing in the below code. e.g usibng the symbols '|>' and '||' and '<|' IF COND(&TODUE7 *NE '0000000') THEN(DO) CHGVAR VAR(&QRYSL) VALUE(&QRYSL |> ' *AND (ODUDT *GE + ' || &FRDUE7 || ') *AND')...

    svankipu560 pointsBadges:
  • Batch Job Ends without Calling Program on AS/400 V5R2M0

    Hi all, I have a batch job 'JOB1' which should execute a command CALL LIB1/PGM1.Here PGM1 is CL Program. I want to debug PGM1. I submitted thru SBMJOB JOB(JOB1) HOLD(*YES) CURLIB(LIB1). All other are default values for SBMJOB. I did STRSRVJOB & STRDBG. When I released Job, I set Break Point at the...

    NarasimhaReddy225 pointsBadges:
  • COBOL: Is it possible to apply a different Pic clause to a single variable?

    Is it possible to use a different  Pic clause from a single variable? based on the condition. DEBIT             PIC ZZZZZZZ,ZZZ,ZZ9.99                      PIC ZZZ,ZZZ,ZZZ,ZZ9.99 For example              When true...

    Promodhss50 pointsBadges:
  • File Size in CL/400

    I need to access file size in CL/400. I can't use DSPFD TYPE(*ALL) with OUTPUT(*OUTFILE). Pls give the solution.

    NarasimhaReddy225 pointsBadges:
  • AS/400 with RPG/400, ILE, CL/400 Careers in Delhi, Noida ,Gurgaon

    I have no  jobs in AS400 when i passed in the year 2008 from year 2008 to 2009 still i am job less

    Rpgrpgile20 pointsBadges:
  • Retriveing massage from submited job in CLP

    I have CLP and a cobol program. CL program calls the cobol program in Batch mode by doing SBMJOB. The cobol program processing 1000 records from a database file. If it founds errorneous record in the time of processing, then it stops processing with a system generated error massage and control go...

    Mithunpaul15 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