• 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:
  • 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:
  • Connection to relational database XXXX already exists.

    I am trying to do a CPYFRMIMPF in a CL and am getting the following Error occurred in SQL Call Level Interface Error occurred in SQL Call Level Interface Error occurred in SQL Call Level Interface Connection to relational database XXXX already exists. Connection to relational database XXXX already...

    Dcarney115 pointsBadges:
  • Error received on CPYFRMIMPF command – SQL0842

    Does anyone know what command should be run prior to the CPYFRMIMPF command to close what needs closed. Running this in a CL program.

    Dcarney115 pointsBadges:
  • Read a message Queue without loosing messages

    I have developed a CL pgm, which monitors a message queue and in case a job ended abnormally message appears on that message queue, the system sends a email message to certain users. This is working fine, however the user whose message queue i monitor does not receive any message as my program...

    JohnsonMumbai1,160 pointsBadges:
  • RPG/400 ,CL/400 lifecycle

    Hi, Very good morning my friends.Can any body tell me rpg/400 and cl/400 life cycle.please

    0 pointsBadges:
  • %SST

    Hi, Im traying to get out put of this below mention simple logic code.But im geting out of different.(im trying with my laptop trhough my company server. DCL &FIELD1 *CHAR 10 VALUE('TCS AS/400') DCL &FIELD2 *CHAR 10 CHGVAR(%SST(&FIELD2 1 10))(%SST(&FIELD1 10 1) Can you tell me the value of field2...

    0 pointsBadges:
  • Selecting a UserProfile

    Friends, I have this CL and this CL select all users on this command: WRKSPLF SELECT(*ALL) OUTPUT(*PRINT) In a parameter (30 days) I retain all spooled files that users. I have a unique User to and this needs reatins Your spooled file by 90 dias. How can I select this condition on my CL ? ***** The...

    SILVARB440 pointsBadges:
  • Generic rename object

    Hi, I'm trying to work out a way of generically renaming objects (files in specific) on an iseries. I have a large number of files which have names that begin with a letter which needs to be changed and end in a number which also needs to be changed, for example :- Axxxxx01 Ayyyyy01 Azzzz01 The...

    Gilly40023,730 pointsBadges:
  • results of CL commands

    how can i see the result of a cl command which i execute. For example, if i executing a command runsqlstm and it says command failed. how do i see the detailed description for the same result like why the command failed

    Jacky160 pointsBadges:
  • Display from CL command?

    What is the command to display something from CL?

    AS400 - Ask the Expert485 pointsBadges:
  • CPF1236

    What would cause CPF1236 to be issued for an overnight job we submit via a CL program? CPF1236 is "Subsystem &1 cannot start prestart job &2."

    Doe Reeves55 pointsBadges:
  • How do you end a cobol program that calls a menu(cl)?

    I have a menu that calls another menu. Before the first menu calls the second menu it calls a cobol program which reads a table to verify that the user attempting to access the second menu has authority to the second menu. If the user has authority to the second menu, the cobol program calls the...

    Cembry5 pointsBadges:
  • CL doesnt work

    I have a CL/400 and i have a problem when I try start a device printer with the command STRPRTWTR, in many situations this devices not exist on the system, How can I resolve this situation ?, below the CL. QNBR*...+... 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 6 ...+... 7 ...+... 8 .. 100...

    SILVARB440 pointsBadges:
  • Object authority

    How we can check object authority in CL program?

    Chandra9355 pointsBadges:
  • Device Printers

    Hi friends, How can I create a CL to Start or End a printer device ? A command or CL like this: Start or End Printer Y or E ____ Option Name of the device printer ____ *devd Thanks for all.

    SILVARB440 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