An ILE C stream file or record file is the same as an iSeries Data Management system file. System files are also called file objects. Each iSeries Data Management system file or file object is differentiated and categorized by information that is stored within it. Each file has its own set of unique characteristics, which determine how the file can be used and what capabilities it provides. This information is called the file description.
The file description also contains the file’s characteristics, details on how the data associated with the file is organized into records, and how the fields are organized within these records. Whenever a file is processed, the operating system uses the file description. Data is created and accessed on the system through file objects. The iSeries Data Management system files are listed:
File Naming Conventions
The _Ropen() and _fopen() functions that refer to iSeries system files require a file-name. This file name must be a null ended string.The syntax of an iSeries data management file name is:
Enter the name of the library that contains the file. If you do not specify a library, the system searches the job’s library list for the file.
Enter the name of the file. This is a required parameter.
Enter the name of the file member. If you do not specify a member name, the first member (*FIRST) is used.
Note: If you specify *ALL for member-name when using fopen() and _Ropen(), multi-member processing occurs.
All characters specified for library-name, file-name, or member-name are folded to uppercase unless you surround the string by the back slash and quotation mark (″) control sequence. This allows you to specify the OS/400 quoted names. For example:""tstlib"/tstfile(tstmbr)"
If you surround the file name, library name,or member name in double quotation marks and the name is a normal name, the double quotation marks are discarded by the ILE CC++ compiler. A normal name is any file, library, or member name with the following characters:
The following characters cannot appear anywhere in your file names, library names, or member names:
Note: ″( ) / ″ can be used in quoted file names.
IBM-ILE Related Interview Questions
|IBM - RPG Interview Questions||IBM DB2 Interview Questions|
|DB2 Using SQL Interview Questions||IBM Mainframe Interview Questions|
|IBM AIX 7 Administration Interview Questions||AS400 Interview Questions|
|Automatic Storage Management (ASM) Interview Questions||Mainframe DB2 Interview Questions|
|Rpgle Interview Questions|
Introduction To The Ile C/c++ Compiler
Creating A Program
Working With Exports From Service Programs
Example - Creating A Sample Ile C Application
Running A Program
Debugging A Program
Using Stream And Record I/o Functions With Iseries Data
Using Ile C/c++ Stream Functions With The Iseries Integrated File System
Using Externally Described Files In Your Programs
Using Database Files And Distributed Data Management Files In Your Programs
Using Device Files In Your Programs
Handling Exceptions In Your Program
Using Iseries Pointers In Your Program
Using Packed Decimal Data In Your C Programs
Internationalizing Your Program
International Locale Support
All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd
Wisdomjobs.com is one of the best job search sites in India.