Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

can I make PS or PDS files through COBOL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
View previous topic :: :: View next topic  
Author Message
sachin.mandaliya

New User


Joined: 17 Jan 2007
Posts: 24
Location: India

PostPosted: Fri Feb 16, 2007 3:01 pm    Post subject: can I make PS or PDS files through COBOL
Reply with quote

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
View user's profile Send private message

prav_06
Warnings : 1

Active User


Joined: 13 Dec 2005
Posts: 154
Location: The Netherlands

PostPosted: Fri Feb 16, 2007 3:10 pm    Post subject:
Reply with quote

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
View user's profile Send private message
sachin.mandaliya

New User


Joined: 17 Jan 2007
Posts: 24
Location: India

PostPosted: Fri Feb 16, 2007 4:17 pm    Post subject: about internal reader
Reply with quote

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
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3158
Location: Tucson AZ

PostPosted: Fri Feb 16, 2007 4:25 pm    Post subject: Re: about internal reader
Reply with quote

sachin.mandaliya wrote:
But I want to know abt the JCL Internal reader .
start here http://ibmmainframes.com/viewtopic.php?t=17796&highlight=internal+reader
Back to top
View user's profile Send private message
honeypria567

New User


Joined: 20 Nov 2006
Posts: 14
Location: chennai

PostPosted: Fri Feb 16, 2007 5:12 pm    Post subject:
Reply with quote

we can create PS/PDS using INTRDR throgh cobol program.
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Fri Feb 16, 2007 6:17 pm    Post subject: Re: can I make PS or PDS files through COBOL
Reply with quote

There are plenty of topics that describe how to use dynamic allocation within a program, and how to use the Internal Reader.

Here's just a few of them:

http://ibmmainframes.com/viewtopic.php?t=13755
http://ibmmainframes.com/viewtopic.php?t=9603
http://ibmmainframes.com/viewtopic.php?t=7472
http://ibmmainframes.com/viewtopic.php?t=3895
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. Full Time COBOL Software Development ... shally Mainframe Jobs 0 Fri Jan 20, 2017 5:24 am
This topic is locked: you cannot edit posts or make replies. COBOL Software Development Lead at Fi... shally Mainframe Jobs 0 Fri Jan 20, 2017 5:21 am
No new posts Executing OO COBOL program invoking J... Virendra Shambharkar COBOL Programming 2 Tue Jan 10, 2017 6:37 pm
No new posts OO COBOL compile error Virendra Shambharkar COBOL Programming 3 Tue Jan 10, 2017 6:05 pm
No new posts Need Suggestion on COBOL program vickey_dw COBOL Programming 5 Thu Jan 05, 2017 10:55 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us