Results 1 to 2 of 2

Thread: Define DD in JCL from a Cobol program

  1. #1
    Geek_Guest
    Guest

    Define DD in JCL from a Cobol program

    Question asked by visitor marqux

    Can I allocate and define DD in JCL from a Cobol program? This a problem i have. i need to alloc a sequence file but the name is defnied in other file.

    thank a lot


  2. #2
    Contributing Member
    Join Date
    May 2007
    Answers
    85

    Re: Define DD in JCL from a Cobol program

    Can you be more specific?

    It sounds like another program is creating a file and your program is try to read it. In that case you set up an arbitrary dd name in the file section of your program.
    Later, when you set up the JCL to call your program, refer to you ddname and code the dsn name of the file created in the earlier program.

    If I didn't interpret your question correctly, please let me know.

    kk


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact