View previous topic :: View next topic
|
Author |
Message |
sachin.mandaliya
New User
Joined: 17 Jan 2007 Posts: 24 Location: India
|
|
|
|
I want to make new PS or PDS file through COBOL program.
So, plz suggest me that wether it's possible or not and if it's possible than how it's possible?
Thanx.
Regards,
Sachin |
|
Back to top |
|
|
prav_06 Warnings : 1 Active User
Joined: 13 Dec 2005 Posts: 154 Location: The Netherlands
|
|
|
|
Sachin,
U cannot create a PS or PDS file from a stand alone COBOL pgm, but this can be done when u execute a COBOL pgm using a JCL, the creation of a DS is done by the JCL which executes the COBOL pgm.
If u have heard about Internal reader concept , i.e.. writing a file wioth JCL statements adn executing the written file by using INTRDR, u can also use this LOGIC, but still u would require a JCL to do this.
Cheer's,
Thamilzan. |
|
Back to top |
|
|
sachin.mandaliya
New User
Joined: 17 Jan 2007 Posts: 24 Location: India
|
|
|
|
prav_06 wrote: |
Sachin,
U cannot create a PS or PDS file from a stand alone COBOL pgm, but this can be done when u execute a COBOL pgm using a JCL, the creation of a DS is done by the JCL which executes the COBOL pgm.
If u have heard about Internal reader concept , i.e.. writing a file wioth JCL statements adn executing the written file by using INTRDR, u can also use this LOGIC, but still u would require a JCL to do this.
Cheer's,
Thamilzan. |
Thanx for giving an answer of my question.
But I want to know abt the JCL Internal reader . |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
Back to top |
|
|
honeypria567
New User
Joined: 20 Nov 2006 Posts: 14 Location: chennai
|
|
|
|
we can create PS/PDS using INTRDR throgh cobol program. |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
Back to top |
|
|
|