• * CPF6412 – compilation error

    When I compile my cobol cbl program , i get this strange error. . EXCKRD5F 1 >8X " X " N . EXCKRDAF 1 ? X " X " X à  MSGID MI Instruction Stream Semantic Diagnostics  * CPF6412 Attributes of instruction X'56F9' operand 1 not valid. Probable compiler error.  * CPF6412 Attributes of...

    Kapiltiwari350 pointsBadges:
  • COBOL/400 subfile single page load(page by page load)

    Hi! can any one give me sample code of cobol/400 program which loads a subfile records page by page. My problem here is I am able to code page by page records loading from a PF but when the Subfile is dispalyed it is not properly displaying the pages. Fro example after loading and displaying the...

    AS400Prathap5 pointsBadges:
  • 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:
  • Changing a logical file, need to recompile the physical?

    Hi, I work on a Cobol As400 system. I am changing a lf to make it unique instead on non-unique. Do I need recompile the pf or just the lf and any programs that access it?  I have changed the lf and the i/o module that accesses it, tested it, and so far so good. However the process here is to...

    Sleepzone60 pointsBadges:
  • how to get Page number in specific format in AS400 ( cobol or RPG)

    Hi Folks, i have been asked to print the Page number as page : N/X ( i.e the current page number is N out of total X pages). I knew that its possible to display the page number as page : N ( where N is the current page). But how can i pre determine the total pages of report in advance and have it...

    Powerprogram50 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 Modules and Program

    hi, I have 3 module objects:- 1. Add 2. Update 3. Delete. I have combined these into 1 module MODA. MODA calls these program on the basis of some condition. Now my question is: 1. I am not able to create PGM of MODA. the job log says Definition not found for symbol 'ADD'. What might be the issue...

    Gta5 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...

    mvrkrishna555 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...

    mvrkrishna555 pointsBadges:
  • COBOL SubFile Processing

    Hello All. I am sure that this question has already been answered somewhere but I am not able to find the answer so please bear with me. My DDS contains 4 records 1) MAP1 RECORD 2)MAP1S SFL 3)MAP1C SFLCTL 4) MAP1S MAP2 RECORD Map1 contains fields that are used to filter the results to be displayed...

    Schue10 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:
  • Logging back into AS/400

    The question is very simple and I hear a lot of talk about nothing to do with the question asked...Please understand, I am not able to log in to get to the wrksplf or wrkjob queues.  HOW DO YOU GET BACK ON AS400 SYSTEM ONCE YOU'VE LOGGED OUT? While trying to log back on, the system send this...

    Zlevel5 pointsBadges:
  • Special formatting on text lines AS/400

    HAve a text input screen  and somehow the user is burying froamtting controls into the data ,  ie( highlighing a sentence or underlining a word. The user does not remember how they did it,   Need some ideas,  the user has not mapped their keyboard with apl coding.   Thanks

    RPGCRAZY30 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:
  • Same fle being used by two programs in a job.

    This is in cobol 400. Suppose program A opens a file in input mode and after that program A called program B which again opens the same file in input mode. File got opened successfully. Now assume that file is only getting closed in program A. Is this correct? Are we supposed to close the same file...

    Thotts45 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:

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