• iSeries SQL Cobol

    In my COBOL SQL select statement that was previously running on V5R4, I was able to extract a date field defined with "date" as the data type. We are now on V7R1 and we get a data mapping error. No clue as to why? Any ideas? thanks

    Pgmr4660 pointsBadges:
  • COBOL PGM for extracting fields from mulitple files to a flat file

    Hi, Please help me with an need an example COBOL program for the below mentioned requirements. Extract fields from 3 files based on selection criteria(specific to each file) and write all the records which satisfies the criteria to a flat file. Thank you.

    reshnair5 pointsBadges:
  • File Status 90 during open

    Hi, I have a logical file, which I am trying to open in I-O mode, but I get File status 90 File is existing on the system, The code was working fine previously (on development machine), but today I installed all the objects on another machine (Testing machine), and I am getting this file status,...

    asakla240 pointsBadges:
  • COBOL reading RPG created files

    I am trying to read a RPG created file with special characters in the data fields (EX: EP$DEPT,etc). Is there a way I can remap the fields in a COBOL program. I tried a logical mapping over the PF but when I rename the fields in the LF removing the $ sign, I get compile errors because the LF can't...

    Theraven35 pointsBadges:
  • Validate date in COBOL/400

    I have date in yyyymmdd format. I want to validate if it lies between a particular period of 2 years let b/w 1 Jan 2012 to 5 April 2014, in COBOL/400.... Please help me as the intrinsic function like that in COBOL are not working in this case. Thanks.

    praveen21210 pointsBadges:
  • VS COBOL and ADABAS/Natural Mainframe Recent Prospects

    Dear Rick: I've been out of the field (driving a truck) since March of 2005. I'm thinking that due to retirements and natural attrition, combined with the fact (please confirm) that companies are not retiring their mainframe systems like everyone thought, what are job prospects for a 48 year old...

    HankTheTank5 pointsBadges:
  • Logical File

    Hi, I have written two online programs.  The first one uses PRDATA-FILE.  The second one uses a logical file based on PRDATA-FILE.  When the screen of the first online program is displayed, the screen of the second online program does not display records.  Is this because PRDATA-FILE is locked...

    Elliet15 pointsBadges:
  • Output from COBOL display statement not showing up in log when changing userid via QWTSETP

    If I change userids in my CL via QSYGETPH/QWTSETP I get no QPJOBLOG. After adding DSPJOBLOG  OUTPUT(*PRINT)  to the CL I get a joblog. But still no output from the DISPLAY statements in the program. If I don't switch userids, I see the messages in the QPJOBLOG.    

    CICSguru5 pointsBadges:
  • Hawkeye Mass Compile

    How close do other change management products keep COBOL compile parms for CRTCBLPGM, CRTBDNCBL when replacing an object? Have looked at Hawkeye's Mass Compile but had to tell them a while back they were not keeping the Activation group was defaulting to QILE even if the object it was replacing was...

    BeanBaggs220 pointsBadges:
  • Cobol access to DB2 data over multiple LPARs

    I have an iSereis with 2 LPARs - one running V6R1 with a Cobol compiler (not ILE) and the other LPAR is running V5R3 with DB2 files.  What code and/or compiler options do I use to connect the v6r1 Cobol with the v5r3 database and how do I create the Cobol program to run on v5r3? Thanks

    Oldcobolguy5 pointsBadges:
  • DBCS data movement

    I have a requirement to select fields from an input file which also contains DBCS fields in addition to alphanumeric. THe fields are separated by tabs. Ofcourse I could use unstring delimter option, but the dbcs data movement is showing errors. Is there any way of conversion b/w dbcs and...

    Mfbeginner10 pointsBadges:
  • Programming quiz – Excel, VB etc.

    Recently heard an interesting quiz and thought it will be fun to see the solution done programmatically. The quiz is as follows: A person bought an old car with over 170,000 miles on it. The odometer is a digital device with 6 digits. The odometer shows only full digits – no decimals. One day as...

    SbElectric2,540 pointsBadges:
  • * 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:
  • UNSTRING -DBCS and non-DBCS

    "UNSTRING" contained both DBCS and non-DBCS items. My program is returning this compilation error. What is the solution. Please help. Tried many ways but didnt work.

    Mfbeginner10 pointsBadges:
  • Inquire storage usage

    how to program cics inquire storage command in cobol to get the storage alloted to a particular task and then free the alloted storage

    Mepcoram5 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:
  • Check to see if a file directory exist in Windows

    I am trying to find a way in Cobol, either with a program or CL to see if a file directory exists in Windows.

    JScotti10 pointsBadges:
  • Retrieving environmental variable

    Is there a way to retrieve a Windows environmental variable from a Cobol AS400 environment?

    JScotti10 pointsBadges:
  • Switch between two screens using CICS maps

    how we can switch between two screens using maps in cics what will be the logic implemented in cobol programme?

    Asstenggtrainee5 pointsBadges:
  • AS400 comparing large database files, cobol code taking too long

    Hi, I need to compare 2 large database files on the AS400, they have 20 million + records each. They are both keyed uniquely, exact same file layout. I need to identify inserted, updated and deleted records. I tried using cobol program reading first file with the unique logical, and matching with...

    ARTZONE25 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