• Problem with CMD/CL and *PNAME type (Path name contains embedded nulls.)

    So I am giving a good effort into writing a CL/CMD pair to start one of our programs from the command line, but I've hit a snag. Here is my CMD source: CMD PROMPT('Start Engine') PARM KWD(PGM) TYPE(*NAME) LEN(10) DFT('TRAN_ENGV2') PROMPT('Engine Program Name') PARM KWD(PATH) TYPE(*PNAME) MIN(1)...

    DraeByllek45 pointsBadges:
  • CL – OVRDBF

    I am executed the below statements using CL. FileA got deleted. I want to know the reason. Please help me to understand the logic. PGM OVRDBF FILE(TESTPF) TOFILE(TESTPF1) OVRDBF FILE(TESTPF1) TOFILE(TESTPF2) OVRDBF FILE(TESTPF2) TOFILE(TESTPF) DLTF FILE(TESTPF) DLTOVR FILE(*ALL) ENDPGM FILEA got...

    rajeshece1,215 pointsBadges:
  • reading a pf in reverse order using cl program

    Hi, How to read a physical file in reverse order using cl program ny example with coding would ne much helpful. Thanks. any sample code would be verymuch helpful

    6r1,590 pointsBadges:
  • Multiple display file in CL program

    I need to have one screen where a user can enter some information, lets say customer number then when they press enter that information will be shown in text on the second screen. So lets say the user enters 321 for customer number and then the second screen needs say "The customer number processed...

    mike178035 pointsBadges:
  • RPGLE opcode similar to SNDF in CL

    Is there any way we can display a message "Processing" while the program is building the data in a subfile. In CL we can use the SNDF command to send such message to the display. Please help.

    ShajiMohan45 pointsBadges:
  • MSGW in WRKACTJOB

    How to end a job in MSGW how we can give in a program all the proces to give OPT-7 in front of a job which is in MSGW & giving 'G' to end that in RPGLE /CLLE progrm that too in a scheduled time

    Sitaratnam10 pointsBadges:
  • Read backword in CL/400

    How to read backword a physical file in CL400.

    Bdchow5 pointsBadges:
  • Auto reply to CL-created messages

    Is there a way to automatically reply to either the SNDUSRMSG or SNDPGMMSG commands?

    OldScott10 pointsBadges:
  • Sorting alphanumeric field with hexadecimal values

    We have a task where we have to convert key numeric field (8,0) to alphanumeric field (8A) with hexadecimal values ('00000000' - 'FFFFFFFF'). The problem in sorting with alphanumeric is the alphabet is less than the numeric value (A-Z < 0-9). Is there a way, by LF or any AS400 utility, that can...

    Vsevilod135 pointsBadges:
  • Automating SNDNETSPLF in CL

    I want to use SNDNETSPLF to automatically copy each occurance of a specific spool file to another outq for archiving purposes.  The spool file name will always be the same.  To use SNDNETSLF I need to enter the Jobname, User & job number etc.  How do I automate the command?

    ITDavid140 pointsBadges:
  • Want to make a utility to search string.

    [h3 class="groups"> Hi,[/h3] [h3 class="groups">I want to make a utility in AS400 to search a string (Such as file name/PGM name) in my current Library and in all Source physical files if found show PGM and all related files. Like I do trough find string Command. [/h3] It would be also help ful you...

    Builtin100 pointsBadges:
  • Calling query/400 through CL

    Hi, Is it possible to call query/400 through a CL program? Please suggest some idea.. Thanks, Jayashree V.      

    VJayashree185 pointsBadges:
  • Navigation from one sheet to another in AS400(RPGLE)

     I have converted two physical files into one flat file.Afterthat I have converted that flat file to CSV file and got two physical files data in one excel file.        But I need to write first phsical files data in sheet1 and second physical file data in sheet2 in same excel file.Is there...

    ganeshpavi70 pointsBadges:
  • DSPF & SNDRCVF

    In a CL, I need to define two files. One file is a display file and the other is a physical file. Then I need to do a RCVF to pass the retrieve data in the display file then use the physical file. When I try to compile the pgm using the RCVF, it does not recognize the variables in the display file...

    SOUTHEAST30 pointsBadges:
  • How to strip comments from CL program?

    Anyone know of a utility that will strip comments out of a CL program? We have many programs with more comments than actual code (for history purposes) and I'd like to see just the actual code. And no, I don't want to RTVCLSRC and lose indentation, etc.

    OldSysAdmin945 pointsBadges:
  • Can specific options within the Go perform menu be called by a program?

    Can specific options within the Go perform menu be called by a program?

    JohnsonMumbai1,160 pointsBadges:
  • Data Structure in CL

    Hi,     Upto my knowledge we cant use data structure in cl... Is it Possible? If it Possible then How?

    22917515 pointsBadges:
  • Unable to override a PF member

    Hi, I am trying to override a physical file using CL. The CL program is being called by a CBLLE program. In the CBLLE program, I want to process the overridden member.But,all the processing is going on the first member only.It looks like as soon as the CL program terminates DLTOVR gets executed...

    Prabhjot8515 pointsBadges:
  • Record lock

    I have ecounter a situation where my program is updating a record which is locked by another user. Can anybody suggest on developing a process using CL program which can handle such kind of situation where my CL program will send a message to the user who has put a lock and after waiting for some...

    Vids295 pointsBadges:
  • Accessing I/O Feedback Area of DSPF from within CL program

    Is it possible from within a CL program to retrieve/access the I/O feedback area of a display file (the equivalent of retrieving INFDS (positions 401-404) from within an RPG program)?

    Zack265 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