Difference between revisions of "IFS"

From MidrangeWiki
Jump to: navigation, search
 
(File locks: +Carsten's WRKIFSLCK)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[Category:File System]]
+
{{AN}} is an acronym for {{bu|I|ntegrated}} {{bu|F|ile}} {{bu|S|ystem}}.  It is a hierarchical file system available on [[iSeries|IBM i]] that is very similar to a Unix file system.
The Integrated File System, or IFS, is a heirarchial file system available on the [[iSeries]] that is very similar to a unix file system.
+
 
 +
The IFS can be accessed from
 +
* a [[Green Screen]] using standard [[command]] interface, or [[Qshell]] command line
 +
* a PC using [[iSeries Navigator]] or Windows networking shares through [[Netserver]] support
 +
 
 +
[[Java]] applications are stored in, and executed from, the IFS.  The IFS is also used extensively for [[HTTP]] servers.
 +
 
 +
==File locks==
 +
IBM i does not have a native CL command to display what jobs have a lock on an IFS file, like QSYS.LIB has with WRKOBJOCK.  But there are several ways to discover this.
 +
 
 +
* [[ISeries_Navigator|Navigator for i]] has a graphical display of jobs locking a given IFS file.
 +
* System API [http://pic.dhe.ibm.com/infocenter/iseries/v7r1m0/index.jsp?topic=%2Fapis%2Fqp0lror.htm QP0LROR] (Retrieve Object References).
 +
* System API [http://pic.dhe.ibm.com/infocenter/iseries/v7r1m0/index.jsp?topic=%2Fapis%2Fqp0fptos.htm QP0FPTOS] (Perform Miscellaneous File System Functions):
 +
    CALL QP0FPTOS PARM(*LSTOBJREF '/dir1/dir2/file.log' *FORMAT2) - creates spooled file.  Requires *SERVICE
 +
* Carsten Flensburg's [http://iprodeveloper.com/rpg-programming/working-ifs-object-locks WRKIFSLCK] command.
  
The IFS can be accessed from the green screen using a standard [[command]] interface, the [[Qshell]] command line, [[iSeries Navigator]], and Windows networking shares through [[Netserver]] support.
+
==See also==
 +
*[[IFSTOOL]]
  
[[Java]] applications are stored in, and executed from, the IFS.
+
==Categories==
 +
[[Category:File System]]
 +
[[Category:Definitions]]

Latest revision as of 16:47, 17 April 2014

IFS is an acronym for Integrated File System. It is a hierarchical file system available on IBM i that is very similar to a Unix file system.

The IFS can be accessed from

Java applications are stored in, and executed from, the IFS. The IFS is also used extensively for HTTP servers.

File locks

IBM i does not have a native CL command to display what jobs have a lock on an IFS file, like QSYS.LIB has with WRKOBJOCK. But there are several ways to discover this.

  • Navigator for i has a graphical display of jobs locking a given IFS file.
  • System API QP0LROR (Retrieve Object References).
  • System API QP0FPTOS (Perform Miscellaneous File System Functions):
   CALL QP0FPTOS PARM(*LSTOBJREF '/dir1/dir2/file.log' *FORMAT2) - creates spooled file.  Requires *SERVICE

See also

Categories