• Number of copies how to print in printer file

    i want to print 10 no of identical copies to print,how to we do to print in cobol/400

    madhuchowdary350 pointsBadges:
  • AS400 COBOL one pf have one lf but key fields are different

    i have one physical file,that pf have one logical file,but pf have 4 key fields,logical file have 2 key fields,now both(pf,lf) are using in cobol/400 code   SELECT pf-file ASSIGN TO DATABASE-pf1 [Br _extended="true" />ACCESS IS dynamic[Br _extended="true" />ORGANIZATION IS INDEXED [Br...

    madhuchowdary350 pointsBadges:
  • AS/400 COBOL

    one physical file have 6 key fields,now i want to retrive the 10th record based on one key field,how to retrive in cobol/400 with without using logical file ex:- emp pf have 6 key fields,and emp have records,now i want to retrive particular record in emp(10 th record only),in my cobol pgm some...

    madhuchowdary350 pointsBadges:
  • Writing data into a Flat file using COBOL/400

    Hi Group, I have created a flat file (file with just record length) Now i would like to pass data into it through a COBOL/400 pgm.  How to define that flat file in cobol/400 and write data into it? Regards, MVRK

    mvrkrishna525 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:
  • COBOL/400, DB2/400

    Hi Group, I have a Physical file. It has 3 members, memb1, memb2 and memb3. In my cobol/400 program i need to access all the 3 members and put data into them. What is the select statement for the multimember PF? How to declare the file section for multi member PF? The  COBOL/40o pgm should be...

    mvrkrishna525 pointsBadges:
  • COBOL/400

    Hi Group, I have the code in this format IDENTIFICATION DIVISION PROGRAM-ID. PGM. -------- -------- DATA DIVISION. FILE SECTION FD  PHONEFILE 01  PHONE-REC. ------------ ------------ PROCEDURE DIVISION. <In Procedure division i have written an record into the PHONEFILE> WRITE PHONE-REC. I...

    mvrkrishna525 pointsBadges:
  • How to handle Null value in COBOL/400.

    I have created a view that have Null value.I have populated this field on the basis of some conditions.But when i am reading this view in COBOL program it is going in infinite loop & reading the same record.

    Rr22100 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:
  • Difference between two strings using CL/400, AS/400, COBOL/400

    I am working on a requirement where in I need to find the numerical difference between two character strings. The two strings are 8 character long and can have spaces as values. The two strings are "from" and "to" fields. I will have to find out the last value used and then subtract it from the...

    Pgsdeb20 pointsBadges:
  • MCH1202 error in COBOL/400

    There are n number of ways a DDE occurs. I saw a new problem recently. Request a help from this group. Q) I have 3 Variables declared in COBOl program A(PIC 9(4)) ,B(PIC 9(4)) and C ( PIC 9(8) ) I am perfoming an arithimatic operation as follows Subtract A from B giving C. i tried with following...

    Powerprogram50 pointsBadges:
  • Why this error code in COBOL program: CPD7914

    Need help getting pass this error message. using this input file definition * Beginning of data *****************************   R DCREFR                                           DCCODE         3          ALIAS(DC_CODE)        ...

    nitzinger385 pointsBadges:
  • sflcode & COBOL/400 code

    i have a database file name emp         file name=Emp R emprec    Eno           10p    Ename      10a    Esal          10p k Eno and subfile name is empsfl  sflrec Contain fields   SEno        10p   SEname   10a   SEsal       10p sflctl contain indicators...

    madhuchowdary350 pointsBadges:
  • Calling C ILE Procedure from COBOL 400 Program

    I cannot get the parameters correct on this. I created a module for both the C and the COBOL, then used CRTPGM. My COBOL has WS-FIRST-COBOL-NUM PIC S9(2), WS-SECOND-COBOL-NUM PIC S9(2), WS-NUM-TOTAL-COBOL PIC S9(3) defined in WORKING-STORAGE.                Then I use those for my...

    400Programmer185 pointsBadges:
  • Calling C ILE Program from COBOL 400 ILE Program

    [html xmlns=""> I need help in figuring out how to call a C ILE program from a COBOL 400 ILE program. In my example I would like to pass three parameters from the COBOL program (num1, num2, total) to the C program. In the COBOL program I will hardcode the numbers as, say, 9 for num1 and 8 for num2....

    400Programmer185 pointsBadges:
  • How do you initiate a direct web service call from the AS/400?

    How do you initiate a direct web service call from the AS/400? I am programming in 400/COBOL. I am assuming I need to use COBOL ILE.

    400Programmer185 pointsBadges:
  • Getting a decimal data error when making a change in COBOL AS/400

    Hi, I am doing a change in COBOL pgm in as400. Requirement is to replace an existing input file with a new one and move its field values to the output file. There is a difference here as old input file had the particular field in numeric and the new input file has it in decimal. I have used COPY...

    itkr125 pointsBadges:
  • Rename Clause

    Hi, Can any one please tell me what is Rename Clause and the use of Rename clause? I know only we are using 66 level for Rename clause in Cobol Program. Thanks In advance. Suchi..

    Heramba5 pointsBadges:
  • cobol/400 code samples

    Hi, I am new to COBOL/400, plz provide me a link to some practical examples on cobol/400

    ten20081,150 pointsBadges:
  • Next step in my AS/400 career

    Hi, I've been working for last 3.5 years in AS400 and in which Cobol400 as programming language. I didnot get any chance to work in RPG in these years. Actually i want to grow in my career as technical expert in AS400. But being only knowledge in cobol and cl, i am not sure that i will make it....

    Thotts45 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