Endevor

 View Only
  • 1.  Element added into Endevor with cobol numbers in col 1-6

    Posted Nov 02, 2012 12:06 PM
    An element is being added into Endevor with the cobol number in columns 1- 6 and the numbering at cols 73 - 80 is also being added. It is being added from a member in a dataset, if I look at the profile for the member it has num off, so the member doesnt have any of the numbering in the PDS. I have added the very same member into Endevor under another element name and it is added without the numbers, but when I add the member into the same named element it always comes up with the numbers. I have run out of ideas as to what it could be, I though it could be to do with the profile, but now I have my doubts as it works when adding to Endevor under another name. Any ideas?


  • 2.  RE: Element added into Endevor with cobol numbers in col 1-6
    Best Answer

    Posted Nov 02, 2012 12:14 PM
    If you look at the Type Definition, you will see that it probably has col 7 to 72 or 1 to 72. So if the ONLY change to the Element is the removal of the line numbers in 73 to 80, Endevor sees this as NO change to the line, and does NOT remove the line numbers in 73 to 80. If however something in the line 7-72 changed, it would see that as a change and update the whole line (including the now blank 73-80).

    Adding the member (that has blanks in 73-80) as a new Element will have the full 80 char including 73-80 that at blank. But updating an existing Element will not recognize the removed 73-80 line numbers if that is the ONLY change to that line. Hopefully if you think about this it will start to make sense.


  • 3.  RE: Element added into Endevor with cobol numbers in col 1-6

    Posted Nov 02, 2012 12:57 PM
    Thank you very much, changed the source and adding into Endevor has worked.


  • 4.  RE: Element added into Endevor with cobol numbers in col 1-6

    Posted Sep 22, 2020 03:09 PM
    Hi Isabel,

    Kindly let me know how you had changed the source code to correct the numeric value from being populated from columns 73-80.

    Thanks,
    Padma


  • 5.  RE: Element added into Endevor with cobol numbers in col 1-6

    Posted Sep 23, 2020 08:48 AM
    Hi Padma! 

    There are 2 ways of adding sequence numbers to your code in ISPF EDIT. 

    1) During the EDIT session, enter command "NUMS ON". This will turn on automatic numbering in columns 73-80. You can renumber at any time by entering additional command "RENUM"

    2) For COBOL source, you can enter command "NUMS ON COB". This will turn on automatic numbering in columns 1-6 AND offset your edit session so that the COBOL source you are working on is offset in your edit session to column 7. 

    You can strip numbers out by issuing command "UNNUM". 

    Hope this helps!!

    ------------------------------
    Consultant
    John D Consulting Inc.
    ------------------------------



  • 6.  RE: [General Discussion] Element added into Endevor with Cobol numbers in c

    Posted Nov 02, 2012 12:22 PM
    You need to look at the COLUMN COMPARE on the type defination panel.. When the source is orgianlly added it will store all Columns into Endevor depending upon the Source Length you have defined.

    SOURCE LENGTH: 80 COMPARE FROM: 7 COMPARE TO: 72


    So check that set up and see if it makes a difference..



    From: CA Endevor Global User Community [mailto:CommunityAdmin@communities-mail.ca.com]
    Sent: Friday, November 02, 2012 12:06 PM
    To: mb.2255613.99556808@myca-email.ca.com
    Subject: [General Discussion] Element added into Endevor with cobol numbers in col 1-6

    An element is being added into Endevor with the cobol number in columns 1- 6 and the numbering at cols 73 - 80 is also being added. It is being added from a member in a dataset, if I look at the profile for the member it has num off, so the member doesnt have any of the numbering in the PDS. I have added the very same member into Endevor under another element name and it is added without the numbers, but when I add the member into the same named element it always comes up with the numbers. I have run out of ideas as to what it could be, I though it could be to do with the profile, but now I have my doubts as it works when adding to Endevor under another name. Any ideas?
    Posted by:isabel.da.costa
    --
    CA Communities Message Boards
    99559348
    mb.2255613.99556808@myca-email.ca.com<mailto:mb.2255613.99556808@myca-email.ca.com>
    https://communities.ca.com