#344 IFSFile fails on QSYS paths with LIBL

IFS
closed-rejected
None
5
2014-07-22
2013-02-06
Anonymous
No

IFSFile fails to function when using IFSFile to determine QSYS file attributes (subtype, source physical file) and the library for the file is *LIBL:

QSYSObjectPathName filePath = new QSYSObjectPathName("*LIBL", "QEGSRC", "FILE");
IFSFile ifsFile = new IFSFile(as400Connection, filePath.getPath());
if(!ifsFile.exists()) {
System.out.println("Does not exist");
} else {
if(ifsFile.isSourcePhysicalFile()) {
//File is a source physical file
} else {
//Not a source physical file
}
}

Discussion

  • John Eberhard

    John Eberhard - 2013-02-06

    What do you mean when you say fails to function? Are you sure the the file is on the LIBRARY list for the IFS Server job servicing the request?

     
  • John Eberhard

    John Eberhard - 2013-02-06
    • assigned_to: nobody --> piguangming
     
  • John Eberhard

    John Eberhard - 2014-07-22
    • status: open --> closed-rejected
     
  • John Eberhard

    John Eberhard - 2014-07-22

    Closing. No requested information provided.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks