Submitted Questions

  • concatinating two rec by using COBOL & JCL

    I need to concatenate records by using cobol and jcl (both) as follows. Input File: AAAAA BBBBB CCCCC DDDDD 11111 22222 33333 44444 Split the file into two halves and 1st rec of first half and 2nd rec of second half records are concatinated and 2nd rec of first half and 2nd rec of second half records are concatinated and so on..... and o/p as given below Output File: AAAAA 11111 BBBBB 22222 CCCCC...

    GAURAVARAM

    • Dec 6th, 2018

    Please post your requirement clearly .. If you have to concatenate the records from two different files you can use IEBGENER

    Code
    1.  

    Kalyan

    • Mar 20th, 2018

    Outrec overlay=(5:13,3,9:5,3,13:17,3,17:9,3)

  • JCL Condition

    Hi Friends, question am going to ask is very simple but suggest me your way of thinking am having 5 steps, i want to keep cond(condition code) for 4th step, in which the 4th step run only all the above three steps must get abend. If any one of the first 3 steps run successful the step-4 must by-pass. If any mistakes are there please excuse me.

    kannan

    • Apr 7th, 2013

    Place Cond=(0,EQ,step1),(0,EQ,step2),(0,EQ,step3) in the the 4th step

    Gunesh

    • Feb 21st, 2013

    The best way for this problem is give cond=only.

  • Combining first two rec as one rec in third file.

    I am having file1 and file2, and result should be as follows in file3 file1 file2 file3 1 11 111 2 12 212 3 13 313 4 14 414 5 15 515 ............................................ .......................................... ............................................ 9...

  • Creating model for gdg

    Is it necessary to create a model for gdg using IEFBR14 utility after creating gdg, if yes why it is created.

    Venkata SivaReddy. SR

    • Nov 8th, 2011

    "cobol //********************************************************************* //* CREATE GDG BASE //********************************************************************* //* //GDG...