• cl

    Hi 1.I need a cl code that will purge text files that are more than 3 months old...text files will be created with the date of creation suffixed to the filename... 2.If the above is not possible will i be able to create flat file members and purge those file members.

    0 pointsBadges:
  • Need a CL to be written

    Hi I need a cl to be written;The requirement is as follows There will be files created with naming convention INV20081219 or members within files. Now i need a program that will automatically delete files that are more than 3 months old.

    0 pointsBadges:
  • Decimal data error

    For testing an RPG program, I changed the CL program which submits the RPG program to a “call”. The change was to include a new parameter (numeric) to the RPG program. After testing, the Call was changed back to SBMJOB, but when tested again, the RPG program bombed with ‘decimal data...

    Moksha20 pointsBadges:
  • CL modification to retrieve the data in LDA

    An application exists in production, which submits a job to do some business processing. The program gets invoked from a CL. The program is proprietary and does not have a source. It’s known that this program uses LDA while processing. How can the CL program, which submits the job, be modified to...

    Moksha20 pointsBadges:
  • Search for text within a string in CL/400

    Wath function can I use to find a text into other? I mean how caon I find the Position for -B- in the text -AABAA-

    Estebanguevara5 pointsBadges:
  • STRPCCMD with blank in path

    I am trying to start an Excel spreadsheet with a blank in the path. ex: STRPCCMD 'START K:\My Documents\GL\Monthend.XLS' I've tried all sorts of QUOTE scenarios but have not hit on the right set. Thank you MIS

    MurrayInfoSys940 pointsBadges:
  • Data Area in CL?

    How to get data from Data Area using CL program code?

    6r1,850 pointsBadges:
  • CL – Copy To Import File

    I am using the CPYTOIMPF fromfile(PF) to STMF('dir\acp&txtfile') where &txtfile is &curdt *tcat &curtm.(system date and time) The stream file is created as acp&txtfile and what i want is acp120108100150.

    0 pointsBadges:
  • TXT file naming using CL

    Hi I hve created a txt file from a pf using cpytoimpf.The name of the txt file should have ccyymmddhhmmss in its name.I can retreive the date and time parameters from qdate and qtime.How do i name the txt file using a CL.

    0 pointsBadges:
  • CL/400

    can any body give me answer to this question please? please give me code in cl with the folling specifications. 1.Accept 2 parameters-date and date type 2.If date type is J then convert date to *MDY format 3.If date type is M convert date to *JUL format 4. Send a program message with the value of...

    As400venkat20 pointsBadges:
  • strpccmd

    CL program uses this command to download file from AS/400 machine on to the PC using TTO.But download is not happening properly.can someone help?

    Sumedhah5 pointsBadges:
  • New member creation through CL

    I need to create members dynamicaly once my file size is full through Cl.How can i do this?How can i set range to this new members?

    Supriyob2165 pointsBadges:
  • Convert date to match database field with L data type?

    The field in file is defined with data type L (2008-09-29). My date range in display file is MMDDYY. How do I convert prompt date so I can opnqryf on field in data base file?

    Sue5 pointsBadges:
  • Pointer In CL

    How we point the particular record in file on the base of key in CL Programming.

    Goyalp420 pointsBadges:
  • File access in Rpg

    Hi All, Suppose you have 3 members in a database file. How to read records from all the members without using CL (OVRDBF) ie it should be handled exclusively in an RPG program? Thanks Venkat

    VENKYAS40075 pointsBadges:
  • How to end a batch job in CLLE program?

    I tried to end a batch job in CLLE by retreiving the job attributes through RTVJOBA and ENDJOB,but it doesn't work.Can anyone tell me what is the other procedure?

    SamTheBest15 pointsBadges:
  • Immbedding parameters in CL program

    Hi, I am having trouble immbedding parameters in a CL program with quotes, within a ADDJOBSCDE command. See below. ADDJOBSCDE JOB(&JOB) CMD(RUNC90JOB SEQ(*SUBJB) + PGM(UN798CL) PARM('''' *TCAT &PARM *CAT + '''')) FRQ(*ONCE) + JOBD(C90FILES/QBATCHASMD) JOBQ(QPGMR) The problem is with the 4 quotes...

    tjgm88995 pointsBadges:
  • Nasty bug on new function of V5R4

    as of V5R4 - DCL supports the STG (storage) keyword, which lets you designate how a variable's storage is to be allocated. STG(*DEFINED) tells the compiler that a variable overlays all or part of another variable. You'll also need to use the DEFVAR (defined on variable) keyword to tell which...

    77060 pointsBadges:
  • Virtual Tape CL Program

    Does anyone have an example cl using virtual tape for backup. I have tested with this but am looking for a way to incorporate into a custom cl backup procedure.

    Bmangan285 pointsBadges:
  • ISeries ODBC Connection to Microsoft Word

    Does any one know how to create an CL or a script to run Microsoft Word Merge feature with Iseries ODBC Connection

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

Thanks! We'll email you when relevant content is added and updated.