• CL/400 – How to convert Spool file to Notepad

    Hello Friends, I have a question. In my current project, I have to covert a spool file to notepad and this notepad I have to send it as an attachment to one email address. Question 1: How can I convert spool file to notepad? Question 2: How can I send a notepad as attachment to one email address?...

    BibinGeorge130 pointsBadges:
  • How to check if email option is enabled on a AS/400 server

    How to check if email option is enabled on a AS400 server

    Askt1140 pointsBadges:
  • Send a break message to multiple users

    How to send a break message to multiple users.SNBRKMSG has the option to send it only to worksations.

    Askt1140 pointsBadges:
  • Problem with delimiter in CPYTOIMPF

    I have used pipe symbol | as the delimiter to seperate fields.I used this in a DS and moved it to a flat file.From the flat file CPYTOIMPF was used to created a text file and ftpd.The problem is that the | symbol is read as ! in another system.Wat could be the reason

    0 pointsBadges:
  • OPNQRYF

    I HAVE A CASE LIKE THIS IN CL/400 OPNQRYF FILE((MADE07/GLM0120)) QRYSLT('(GLFINP *NE 99) *AND (GLPRDC *EQ "AR" *OR GLPRDC *EQ "SW" *OR GLPRDC *EQ "WP" *OR GLPRDC *EQ "LR" *OR GLPRDC *EQ "MD") *and (glbrnc *eq "%substr(&bc 1 1)")') HERE BC IS A FIELD IN DISPLAY FILE I NEED TO SELECT BRANCH CODE(BC)...

    Zilan85 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:
  • Data Area in CL?

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

    6r1,485 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:
  • 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:
  • cl/400

    Im kuppi.im working as a software trainee on AS/400 technology.i have also joined with ibmi5 team.im trying to convert date with cl/400 coding.I have taken 2 parameters(like date and date types). A. If suppose date type is j,Now i want to convert date to *MDY format B. if date type is M,now i want...

    0 pointsBadges:
  • All MONMSG’s against a particular Command

    Is is possible to know all the monitor messages that are available against a particular command in one go

    JohnsonMumbai1,160 pointsBadges:
  • version

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

    0 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:
  • to read a record RPG 400

    Hi, Im learning AS/400 technology.Now im in RPG/400.Actuall my doubt is if suppose i used SETGT with *HIVAL,Which opcode is used to read a record (I think readp.But i have litle bit doubt).please clarify my doubt. My library | Sign in About this book Preview this book Sacramental Theology: A...

    I6195 pointsBadges:
  • Obtain member list RPG 400

    can any body tell me is there any opcode to obtain a list of members in a file

    I6195 pointsBadges:
  • Display from CL command?

    What is the command to display something from CL?

    AS400 - Ask the Expert485 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