• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!
Collapse

You are not logged in or you do not have permission to access this page. This could be due to one of several reasons:

  • You are not logged in. If you are already registered, fill in the form below to log in, or follow the "Sign Up" link to register a new account.
  • You may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
  • If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.

Previously on "Extract Outputs from Cobol...."

Collapse

  • ASB
    replied
    Originally posted by cojak View Post
    Actually your PIC 9 fields maybe null-filled if they haven't been initialised first...

    (and your PIC X field for that matter...)
    [pedant]

    Depends upon the compiler. Depends upon whether the initialize statement is used. Depends upon whether it is in a group. Depends upon whether any containing group has a value clause. But the language spec does actually define it all.

    Leave a comment:


  • cojak
    replied
    #Memories, light the corners of my mind....#

    Leave a comment:


  • Sysman
    replied
    Originally posted by cojak View Post
    Actually your PIC 9 fields maybe null-filled if they haven't been initialised first...

    (and your PIC X field for that matter...)
    The bane of my life at one time, that. It was an app maintenance gig and stray nulls caused a good 50% of the bug reports.

    But unless the OP gets back with more info, there's not much we can do.

    Leave a comment:


  • cojak
    replied
    Originally posted by Sysman View Post
    It's perfectly possible to have duplicate field names in COBOL if they belong to different records. You PIC 9 fields will probably be zero filled, the PIC X ones possibly have spaces.

    More info needed really.
    Actually your PIC 9 fields maybe null-filled if they haven't been initialised first...

    (and your PIC X field for that matter...)

    Leave a comment:


  • Sysman
    replied
    It's perfectly possible to have duplicate field names in COBOL if they belong to different records. You PIC 9 fields will probably be zero filled, the PIC X ones possibly have spaces.

    More info needed really.

    Leave a comment:


  • Bluebird
    started a topic Extract Outputs from Cobol....

    Extract Outputs from Cobol....

    Just looking at some DB extracts from a cobol routine and a tool thats supposed to analyse the extracts is coming up with what seems like duplicate fields...

    The only difference is the "picture" of the fields is different even though the field name is the same?

    I have PIC9(07) and PICX(07)

    any ideas on why it's doing this and what it means?

    Cheers

    Guys...

Working...
X