• 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:
  • Capture Return value of Script in CL Program

    Hi I am running a script file which returns some value at the end of the script. i.e. the last line of my script is "exit returnVal". The value is also populating in the returnVal variable correctly but I don't know how can we capture this return value in my cl program. Could anyone please help me...

    VivekSharma120 pointsBadges:
  • Handling errors in CL Programs

    I've been searching all over the internet (and this site) looking for a good way to generically handle errors within a CL program.  Everything's seems very vauge to me. What I'm looking to do is something like this: CHGSPLFA   FILE(&SPOOLFILE) SAVE(*NO)  MONMSG     MSGID(CPF0000) ...

    Dcantwell470 pointsBadges:
  • While calling a command via a CL program exposes my command line.

    While calling a command via a CL program exposes my command line. Is it possible to hide the command line while executing the command via cl. I need to do this as iam executing the cl with adopted authority.

    JohnsonMumbai1,160 pointsBadges:
  • Save IXS CL program

    Does anyone out there have a CL program which saves all the objects on an IXS?

    WoodEngineer6,640 pointsBadges:
  • Accessing OUTQs and writers in AS/400

    I have been tasked with writing a CL to accept the following incoming parameters USER NAME, OUTQ NAME, LIBRARY NAME, & RETURN CODE.

    UARTJ105 pointsBadges:
  • Compiling a CL program

    I have a CL pgm in that i used the OVRDSPF command. Now i changed the display file. I'm sure i need to compile the RPG programs that are using the display file. Have a doubt if i need to compile the CL pgm or not?

    Kvrs8070 pointsBadges:
  • How to retrieve system name on which I am working in as/400??

    how to retrieve system name on which I am working in as/400??

    M265 pointsBadges:
  • CL to change object owner of files in IFS whose directory name changes monthly

    We have a vendor software package the creates a new directory each month in the IFS - ie /photos/201001 for January 2010.  Documents are stored in the directory for a given month and are owned by the user who created them.  We would like to write a cl that can be run monthly to change the object...

    Itspecial5 pointsBadges:
  • How to Identify all work stations with object lock on specific display file

    A break message needs to be sent to all workstations with a current lock on a specific display file. The message-sending CL program needs to identify those workstations and then send the break message to each of them. WRKOBJLCK regretably does not generate an output file, nor could I find an...

    Zack250 pointsBadges:
  • Simulate a key stroke using CL on an AS/400 system?

    Just currious, but is there a way to simulate a key stroke like the >enter< key within a cl prog on an as400 system?    Thanks.

    lotofbad205 pointsBadges:
  • Resources for programmable logic controller (PLC)

    Can any one help me to find something about PLC ? I have a great book for this topic "Automating Manufacturing Systems with PLCs" but i need some videos, an online link to practice and anything else that would help me.

    Ermaldina35 pointsBadges:
  • CL Programming

    Hi Gurus, in cl how to write download file code.and use it in rpg? Is there any command for download file? Thanks & Regards, Sudheer

    Sudheerk9950 pointsBadges:
  • Reading (EVAL) a file in RPG

    Hi, I'm a newbie when it comes to RPG and I couldn't find anything when searching. So this is what I need.  I'm adding a record to a file but don't want any duplicates so I guess I need s simple RPG proogram that takes in one parm, reads a file (with one field) and if it comes across an exact...

    Bggas400160 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:
  • CL for AS400 To FTP file To PC

    Hi Guys, I am just wondering if anyone of you know any CL that can be used to ftp from as400 to a pc.. The current issue that we have now is that a user will run the query, then i would like the CL/Script to actually ftp/transfer the file to a pc automatically. the file will be in an outq of the...

    jinteik17,790 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