× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hi Eric,

Regarding QNTC directory,do I need to run the following mkdir command:
MKDIR DIR('/cds/RWXFPF')
 
where /cds/RWXFPF is the path where the data should be present.
 

I have further analysed the program that copies the file to IFS.
 
There is a Unix Command(QSH)to access the IFS.This creates a list of file names in the
directory I mentioned earlier ie./CDS/RWXFPF.
 
Following is the analysis of the command:
 
QSH starts the iSeries QSHELL unix-like interface.        
CD /CDS/RWXFPF sets the current directory(current lib)
ls -1  creates a content list with 1 entry per line      
of the current directory                          
Pipes (directs) output of list to a file .             

In this case it is a native AS400 database file   
called CDSDIR member CDSDIR               
                                                         
Here is the command whichh is embedded in the main copying program:
                                                         
QSH        CMD('cd /CDS/RWXFPF ; +             
               ls -1 > +                          
               /qsys.lib/gpl.lib/cdsdir.file/+
                 cdsdir.mbr')
The code which follows after this is :
 
RCVF
CHGVAR     &FILEID ('/CDS/RWXFPF/' *TCAT &CDSDIR)
CPY        OBJ(&FILEID) +                                
             TOOBJ('/QSYS.LIB/GPL.LIB/CDSDIR.FILE/+  
             CDSDIR.MBR') FROMCCSID(*OBJ) +          
             TOCCSID(*JOBCCSID) DTAFMT(*TEXT) REPLACE(*YES)
CPYF       FROMFILE(GPL/CDSDIR) TOFILE(RWXFPF) +
             MBROPT(*REPLACE) FMTOPT(*NOCHK)
 
On analysis of the job logs,it shows that the program never excutes the steps after RCVF.It mentions EOF dtected for
file CDSDIR in GPL.
 
It seems the QSH is not populating the file CDSDIR.Are my findings correct?Can you pls suggest where things are
going wrong.
 
Is it with the Unix Command(although the log says 'QSH ended normally with exits status 0').
 
Regards             
Sneha              

--- On Mon, 26/4/10, DeLong, Eric <EDeLong@xxxxxxxxxxxxxxx> wrote:


From: DeLong, Eric <EDeLong@xxxxxxxxxxxxxxx>
Subject: RE: Application/IFS issue-Important (Sneha Verma)
To: "Midrange Systems Technical Discussion" <midrange-l@xxxxxxxxxxxx>
Date: Monday, 26 April, 2010, 2:53 PM


Sneha,

The joblog that indicates that the file was not copied should give you additional information regarding the actual issue, as well as suggestions for how to resolve.  Make sure you look at the second level text in the messages.  I suspect an authority issue...

You indicate that the program is copying the file...  Does this program first build the file, and then attempts to copy that to a new location? Or, is this file built on a PC, and the program is trying to store this file in an IFS directory (from your Q2 answer, it seem this is a file upload to i)? In either case, I doubt you are dealing with broken links. 

I might suspect someone has used QNTC to try to copy data directly from a PC share, but this would not be a robust solution for this.  IBM Netserver depends on WINS (a defunct Microsoft protocol) to populate servers to the QNTC directory.  Newer technologies from Microsoft have replaced the need for WINS, so this service is often not available to create the "LINKS" in the QNTC file system.  If WINS has been removed from your network, you will need to manually add the links into the QNTC directory, using the MKDIR command.

Authentication is often an issue.  Does the user use the same profile and password to login to Windows and the IBM i?  Automatic authentication will fail if these profiles are different...

-Eric

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Sneha Verma
Sent: Sunday, April 25, 2010 12:47 PM
To: Midrange Systems Technical Discussion
Subject: RE: Application/IFS issue-Important (Sneha Verma)

Hi Norm,
 
Many Thanks for suggesting the various possibilities.
 
Here are the answers to your various questions/suggestions:
 
Q1: From the limited information you have been able to provide it appears that
the may be another step that is failing, which could be an automated step to
generate the file or pass the file to the IFS for the user to access.
 

Answer:Yes,there is automated program which copies the file to IFS.I have analysed the program and from the logs I found that the program is not copying the file to IFS location.
 
Q2:Also, could it be that the file has been generated and exists correctly but
the user has lost authority to access the location the file resides in?

Answer:The user mentions that he can manually copy the file to the IFS Location and as soon as the file is copied,the relevant program suite start to process the file.
 
 
I am not sure if the user has lost the authority to access the IFS Link.Please can you let me know how do I see this?The IFS Link where the file is to be copied is /CDS/RWXFPF.
 
The only thing which the user mentions is that the files are not getting copied to IFS Loaction probably because of broken link.I am not sure what these broken links are.
 
Please can you advice me on this.
 
Regards
Sneha
 
 


--- On Sun, 25/4/10, Norm Dennis <nhdennis@xxxxxxxxxxx> wrote:


From: Norm Dennis <nhdennis@xxxxxxxxxxx>
Subject: RE: Application/IFS issue-Important (Sneha Verma)
To: "'Midrange Systems Technical Discussion'" <midrange-l@xxxxxxxxxxxx>
Date: Sunday, 25 April, 2010, 1:31 AM


Sneha,
I agree the comment is unhelpful, this forum is intended to be helpful.

The difficulty for others trying to assist is the limited information you
are able to provide.

You need to identify what application is generating the file the users are
trying to access.
Do you have any understanding of the applications you managing?

From the limited information you have been able to provide it appears that
the may be another step that is failing, which could be an automated step to
generate the file or pass the file to the IFS for the user to access.

Also, could it be that the file has been generated and exists correctly but
the user has lost authority to access the location the file resides in?

Another thought is that if the user is picking up the information from a
"link" on a web page, could the file be generated with a different name?

You need to do more research to identify the problem and the cause.


Norm Dennis

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Sneha Verma
Sent: Sunday, 25 April 2010 2:30 AM
To: Midrange Systems Technical Discussion
Subject: Re: Application/IFS issue-Important (Sneha Verma)


I am neither a hacker nor doing social engineering.I am disappointed by such
comments which this gentleman has just made.
I am new to IFS and issue of broken links is confusing me.
All I want to know is that if the links are broken can they be repaired by
running some CL commands or do they involve coding which has to be done to
map the links to objects used in file transfer.
RegardsSneha 
--- On Sat, 24/4/10, davidson_l <DAVIDSON_L@xxxxxxxxxxxxxxxx> wrote:

From: davidson_l <DAVIDSON_L@xxxxxxxxxxxxxxxx>
Subject: Re: Application/IFS issue-Important (Sneha Verma)
To: midrange-l@xxxxxxxxxxxx
Date: Saturday, 24 April, 2010, 5:23 PM


Sharon:   my instinct and $.02 on this is that this person
is a hacker doing "social engineering" and your advice to
him is on target.  Hopefully I am just paranoid.

Thanks for your thoughtful postings!


   8. RE: Application/IFS issue-Important (Sneha Verma)
message: 8
date: Sat, 24 Apr 2010 16:05:11 +0530 (IST)
from: Sneha Verma <snehaverma001@xxxxxxxx>
subject: RE: Application/IFS issue-Important

Thanks Sharon.
I manage the AS400 systems alone and there is no body to
train me.From system admin point what should I be doing to
make the links functional. Can you please let me know the
steps?Does it involve coding? If creating the links back
again involves coding,then I am going to pass it to the
developers. Pls let me know as this is getting urgent for
the users. RegardsSneha

--- On Fri, 23/4/10, Wintermute, Sharon
<Sharon.Wintermute@xxxxxxxxxxxxxxxx> wrote:

From: Wintermute, Sharon
<Sharon.Wintermute@xxxxxxxxxxxxxxxx> Subject: RE:
Application/IFS issue To: "Midrange Systems Technical
Discussion" <midrange-l@xxxxxxxxxxxx> Date: Friday, 23
April, 2010, 8:10 PM

As previously stated take this to your developers. If you
don't know the answers, you shouldn't be playing with it.

As to if it is admin or developer task, that is a company
decision.? If it is an admin task and you have not been
trained then again, don't touch it if you don't know what
you are doing.


Sharon Wintermute

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Sneha
Verma Sent: Friday, April 23, 2010 3:00 PM
To: Midrange Systems Technical Discussion
Subject: Re: Application/IFS issue

Hi Scott,
?
One of the user mentioned to me that the files are not
getting copied to IFS Folder probably because the link was
broken. ?
Sorry but?I am not sure what he meant by link.
?
I have two questions which confuse me:
?
1.Are these links related to IFS on AS400 in any way or are
they related to Web? ?
2.If these links point to objects used in file transfer and
are part of AS400,then who is responsible for??making the
the links functional if they are broken.............the
system admins or the developers??? ?
Request your advice on this as I am totally new to IFS and
links and do not have a clue on these broken links ?
Regards
Sneha
?


--- On Fri, 23/4/10, Scott Klement
<midrange-l@xxxxxxxxxxxxxxxx> wrote:


From: Scott Klement <midrange-l@xxxxxxxxxxxxxxxx>
Subject: Re: Application/IFS issue
To: "Midrange Systems Technical Discussion"
<midrange-l@xxxxxxxxxxxx> Date: Friday, 23 April, 2010,
4:59 PM


Hello Sneha,

Has this got anything to do with links?One of the users
mentioned that the link was broken sometimes back.

Can you elaborate on this?? What do you mean by "links"??
Do you mean  hard links?? Symbolic links?? (HTML links?
Sausage links?)? what do you  mean?

Do these links point to objects used in your file transfer?

When you say "broken", what does that mean exactly?? A
symbolic link  pointing to an object that doesn't exist??
Normally the phrase "broken  link" refers to an HTML link
that points to a web page that doesn't  exist, which
doesn't seem to have anything whatsoever to do with your
question.

Please clarify.


Are links being created programatically?Will they affect
the copying of files to IFS folder?


Good grief.? How are /we/ supposed to know how /your/ links
get created? --
This is the Midrange Systems Technical Discussion


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.