IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

I-O Control


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
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
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
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: 275
Location: Bang,iflex

PostPosted: Thu Dec 06, 2007 12:15 pm
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.


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: 1287
Location: Chennai, India

PostPosted: Thu Dec 06, 2007 12:15 pm
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
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: 275
Location: Bang,iflex

PostPosted: Thu Dec 06, 2007 1:59 pm
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
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: 691
Location: Earth

PostPosted: Thu Dec 06, 2007 2:11 pm
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: 275
Location: Bang,iflex

PostPosted: Thu Dec 06, 2007 2:23 pm
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

Moderator Emeritus


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

PostPosted: Thu Dec 06, 2007 10:02 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Using Dynamic file handler in the Fil... COBOL Programming 2
No new posts Help Control-R IBM Tools 2
No new posts Try to understand IMS control block IMS DB/DC 0
No new posts Control-M Delay All Other Mainframe Topics 0
This topic is locked: you cannot edit posts or make replies. Control-m JOB executing even when the... Compuware & Other Tools 6
Search our Forums:

Back to Top