• 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

    Ladyofthesnows10 pointsBadges:
  • Determine TCP port used by a connection.

    We have an application that has our iSeries(AS/400) connect to a remote IP address and port. If we have to end the application and restart it (IPL, error, end/start subsystem) the iSeries keeps the connection open. AFter the application is restarted, the TCP connections show two connections to the...

    LHrabar95 pointsBadges:
  • Retreiving current market price

    We need to invoice our customers the cost of platinum used in some process, based on its usage in grams. I need to retreive the current market price of platinum from internet and use it in RPG program to do the calculations. How can we retreive the current market price of Platinum in a RPG/CL...

    SHhand25 pointsBadges:
  • command to delete a line in physical file

    i want to delete the comment lines through cl program.i want to know the command for deleting a line in physical source file?

    R225 pointsBadges:
  • create user based on (not navigator- I know how in navigator.

    How do I create a user based on another user from a cl program.

    TMc5 pointsBadges:
  • Password reset by menu item

    My help desk resets passwords through the command line and I would like to write a CL and give them a menu option and take away their command line access. Suggestions? (I am not a 400 guy)

    Charlesrico10 pointsBadges:
  • PTF exit program

    I am about to write a PTF exit program in CL. I have gone through the infocenter docuementation but some questions: 1. If I have 10 PTFs and that is already been loaded using LODPTF, how many times PTF exit programs will be called if I issue APYPTF? If it is 10 times then in which sequence? I mean...

    Raju40060 pointsBadges:
  • RTVDSKINF

    Hi Friends, I have a Cl and this CL contains this lines: PGM PARM(&RTV) DCL VAR(&SISTEMA) TYPE(*CHAR) LEN(10) DCL VAR(&PFILE) TYPE(*CHAR) LEN(10) DCL VAR(&LFILE) TYPE(*CHAR) LEN(10) DCL VAR(&RTV) TYPE(*CHAR) LEN(4) RTVNETA SYSNAME(&SISTEMA) MONMSG MSGID(CPF0001) IF COND(&RTV *EQ '*YES')...

    SILVARB440 pointsBadges:
  • File Size of a PF in AS/400

    How to determine the file size of a a PF in AS/400. Is there a specific CL command which tells us as to how many records a file can store? Or how much more records it can accomodate before its 100% full?

    Vijesh Bhat70 pointsBadges:
  • how to Move one file(flat file or PF) which is created in a batch job, to the systems C: drive.

    how to Move one file(flat file or PF) which is created in a batch job, to the systems C: drive. sing CL

    It doubts85 pointsBadges:
  • Reading IFS file from CL program

    I have a requirement of reading a IFS file from CL program. As far as I know there is no direct way of achieving this. I am planning ot use CPYFRMSTMF followed by CPYF to copy the IFS file first as a memeber and then as a database file. Is there any better way to achieve this? Regards Sudip

    Raju40060 pointsBadges:
  • auto transfer of as400 to pc

    Hi There How do I create a CL pgm to automatically transfer physical file to a PC server in csv format. Thanks for the help

    Nikolai196030 pointsBadges:
  • version

    HI, This is ibmi5 fresher team.Please tell me what is difference between cl and rpg

    0 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