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
 

 

I-O Control

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
sahana.chandan.gupta

New User


Joined: 05 Dec 2007
Posts: 10
Location: Mysore

PostPosted: Thu Dec 06, 2007 11:30 am    Post subject: I-O Control
Reply with quote

What is I-O control in Environmental Division? What is the use of it? Please do explain with the syntax.
Back to top
View user's profile Send private message

VinayCM

New User


Joined: 06 Nov 2007
Posts: 36
Location: Bengaluru

PostPosted: Thu Dec 06, 2007 12:00 pm    Post subject:
Reply with quote

R u talking about FILE-CONTROL of I-O SECTION. If so, it's used for file handling, which are used in the program. A logical name is given to every file and a DDname is assigned to it in this section.
Code:
ENVIRONMENT DIVISION.                   
CONFIGURATION SECTION.                 
INPUT-OUTPUT SECTION.                   
FILE-CONTROL.                           
    SELECT IN-FILE ASSIGN TO INP       
           ORGANIZATION IS SEQUENTIAL. 
    SELECT OUT-FILE ASSIGN TO OUTP     
           ORGANIZATION IS SEQUENTIAL. 
    SELECT SYS-FILE ASSIGN SYST.       

here IN-FILE is logical file name and INP is DDname of a file. Actual dataset is connected to program through JCL using this DDname. Hope u understood. Any query get back to forum.
Back to top
View user's profile Send private message
vasanthkumarhb

Active User


Joined: 06 Sep 2007
Posts: 276
Location: Bang,iflex

PostPosted: Thu Dec 06, 2007 12:15 pm    Post subject:
Reply with quote

Vinay,


What you explained is correct in one sense for more clarity, have the link below, this will explain about I-O section.


http://publib.boulder.ibm.com/infocenter/iadthelp/v7r0/index.jsp?topic=/com.ibm.etools.iseries.langref.doc/evfeb4ls02.htm
Back to top
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1288
Location: Chennai, India

PostPosted: Thu Dec 06, 2007 12:15 pm    Post subject: Reply to: I-O Control
Reply with quote

sahana,

Quote:
What is I-O control in Environmental Division? What is the use of it? Please do explain with the syntax.


Why don't you go through the manuals available in this forum for the details.
Back to top
View user's profile Send private message
VinayCM

New User


Joined: 06 Nov 2007
Posts: 36
Location: Bengaluru

PostPosted: Thu Dec 06, 2007 1:44 pm    Post subject:
Reply with quote

Thanks Vasanth, can you tell me how to get these links just by searching through a keyword. Is it possible.
Back to top
View user's profile Send private message
vasanthkumarhb

Active User


Joined: 06 Sep 2007
Posts: 276
Location: Bang,iflex

PostPosted: Thu Dec 06, 2007 1:59 pm    Post subject:
Reply with quote

Hi Vinay,


It is very easy yaar , go to google search, give a keyword like[ I-O section+COBOL+mainframes] you will get many sites and select for the best one in that list which is more helpfull for you.
Back to top
View user's profile Send private message
VinayCM

New User


Joined: 06 Nov 2007
Posts: 36
Location: Bengaluru

PostPosted: Thu Dec 06, 2007 2:05 pm    Post subject:
Reply with quote

Vasanth,
I know that way, I thought is there a way in this forum to get these link directly, so why i asked. Anyways thanks for the advice.
Back to top
View user's profile Send private message
agkshirsagar

Active Member


Joined: 27 Feb 2007
Posts: 686
Location: Earth

PostPosted: Thu Dec 06, 2007 2:11 pm    Post subject:
Reply with quote

There is a Search button at the top of the page....
Back to top
View user's profile Send private message
vasanthkumarhb

Active User


Joined: 06 Sep 2007
Posts: 276
Location: Bang,iflex

PostPosted: Thu Dec 06, 2007 2:23 pm    Post subject:
Reply with quote

Akshi........



Quote:
There is a Search button at the top of the page....




Could you pls tell us, how we can search for the URL's through SEARCH button at the top, This will be helpfull for all.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Thu Dec 06, 2007 10:02 pm    Post subject:
Reply with quote

Hello,

If you want current IBM documentation, much is available via the "Manuals" link at the top of the web page.

The "SEARCH" link near the top of the web page is to search for tpoics within these forums - it is not an internet search. It is a very good place to start as many questions are already answered within our forums.
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 -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts PA02 - Programmtically control attent... dodithegreat IMS DB/DC 1 Thu Apr 06, 2017 8:33 pm
This topic is locked: you cannot edit posts or make replies. How to use 2 input files in control c... Gunapala CN DFSORT/ICETOOL 23 Thu Oct 13, 2016 3:42 pm
No new posts Control-M manuals JPVRoff All Other Mainframe Topics 0 Fri May 20, 2016 11:15 am
No new posts Which Control block has the DSNTYPE i... sudarshan.srivathsav PL/I & Assembler 4 Thu Jan 28, 2016 11:29 pm
No new posts DFSORT control statements in any order ? ronald masters DFSORT/ICETOOL 2 Tue Dec 15, 2015 11:22 pm


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