-
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
-
Contributing Member
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
-
Forum Rules