• Record addition in a PF

    I have a PF with some data in it which i am using in a RPG program. I got another text file with extra data related to PF in it. I have to add this data to the existing data in the PF, Please tell me how can i do this from my RPG program....advance thanks

    ten20081,150 pointsBadges:
  • rpg subdur

    I'm doing a subdur to calc the number of days between mfg date and trans date. When mfg is 2008 and trans is 2009 (12/31/2008 01/02/2009) I get a result of -364 like it subdur is ignoring the year. Any idea how to fix?

    Jjjlake40 pointsBadges:
  • indicators

    I have an RPG that uses alot of indicators for attributes like Position cursor and reverse image.How to effectively use these in a program instead of doing seton and setof everytime.I have come across arrays not sure if it can be used or can you suggest ways of making the program look much more...

    0 pointsBadges:
  • RPG 400 DATA STUCTURES

    Am trying to write to a flat file from a pf using data structures but am getting some errors 'The name specified previously is defined as file or record name. Specification ignored ' Heres the sample code FABCL01 IF E K DISK FDEF O E DISK A F DEF KRENAMEDA100 IABFLAT DS I 1 8 AADT I 9 10 AACM I 11...

    0 pointsBadges:
  • CL AND RPGLE

    can i call an rpgle prog from a cl by passing parameters from cl. Also how do i debug these two sources which are of different types.I am not able to use strisdb to link the modules.

    0 pointsBadges:
  • concat char and numeric field in rpg400

    how to concat a char and numeric field in rpg400.

    0 pointsBadges:
  • CPF1124 and CPF1164

    Hi friends, hapy new Year for all my friends on this forum. I have a JOB, this job run everyday at 02:00am. How can I send a e-mail to a person when this job receive this messages with all severity codes: Message ID . . . . . . : CPF1124 Severity . . . . . . . : 00 Message type . . . . . :...

    RBDSILVA550 pointsBadges:
  • CL

    In a CL code how to determine what are all the codes that require monmsg?

    0 pointsBadges:
  • How can I convert a COBOL program to Oracle

    How can I convert a COBOL program to Oracle and read COBOL files

    Mcb1235 pointsBadges:
  • Remote support user in AS400

    What is Remote support user in AS400? Who should have this?

    Gadang45 pointsBadges:
  • AS/400 Query: How to select records with digits and/or characters

    Hi, I'm doing a cleanup and I need your help. 1) Is it possible by using As/400 query to select records which containing digit or signs (1, 2, @, -, & Etc.). For example, field "customer name" with digits/signs. 2) Is it possible by using As/400 query to select records which containing characters...

    Ezis15 pointsBadges:
  • cl

    DCL &TEXTFILENM *CHAR 40 dcl &curdt *char 6 dcl &curtm *char 6 /* build your CL file name as */ RTVSYSVAL SYSVAL(QDATE) RTNVAR(&CURDT) RTVSYSVAL SYSVAL(QTime) RTNVAR(&CURTM) ChgVar &TextFileNm (QDATE *TCAT QTIME *TCAT ‘.TXT’ CPYTOIMPF … To stream file . . . . . . . . . TOSTMF &TextFileNm Am...

    0 pointsBadges:
  • rpg/400

    while i am compiling the below program compile sucessfull and write the records into SA100 (Flatfile). C READ APHL01 C *IN20 DOWEQ *OFF C EVAL EDTE = APIRDT C EVAL CCDE = APCMPY C EVAL ERPN = PHDCPX + %EDITC(PHDCSQ:'X') C EVAL FYEAR = PHDCYR C EVAL INVNO = APINV C EVAL INVDT = AINVDT C WRITE SA100...

    Askt1140 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:
  • cl

    If i create txt files in as400 directory with naming convention AA20080101 can we purge these files using an AS400 command.

    0 pointsBadges:
  • subfile

    I have created a message subfile but my code is not moving the error message to the display file.I did a debug and found that the write msgctl statement is executed but nothing is being written.Wat could be the possible reason

    0 pointsBadges:
  • AS400

    what will happen in system ( initial process) after sign on the new session.

    rajeshece1,215 pointsBadges:
  • Insert Data into AS400

    I am trying to insert 'int' (integer) datatype into a AS400 table. The fields on the AS400 are of type 'S' (numeric). I have tried to cast the data as numeric but I get an error. Can anyone help? INSERT INTO ebbillhp (BHNROV, BHCRTDT, BHBILLHWEB, BHUSERID) VALUES (convert(numeric,@Site),...

    Jtaylor755 pointsBadges:
  • Entire System Backup

    Before i was using small tape for Entire System Back up(Fmt5gb)but now i am using big tape (Qic 4gb) it take too long time to finish the back up how can i reduce the time

    405325 pointsBadges:
  • How to schedule an iSeries job to do IPL?

    Is there any way where we can schedule a job to do IPL? Thank You, Nitin

    Nit40030 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