Documentation View

We are hiring and constantly growing! Have a look through our vacancies to find the right role for you!

00194 - Problem using call 'SYSTEM' function to copy I FS files

00194 - Problem using call 'SYSTEM' function to copy I FS files

PERFORM Short Reference   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.
SAP E-Book

Problem using call 'SYSTEM' function to copy I FS files

Hi Klaus,

we checked the coding with 4.6D kernel 338. There it worked fine as well. In
this area were made a lot changes in the past. So I would please ask you to
install 338 and the latest SAPXPG patch. When it shouldn't work by then,
please let us know.

Regards

Volker Gueldenpfennig

> -----Original Message-----
> From: Klaus Lindegaard (RWDK) [mailto:klaus.lindegaardZr...]
> Sent: Mittwoch, 3. Januar 2001 08:31
> To: 'SAP on System iZegroups.com'; Gueldenpfennig, Volker;
> 'russ.cookZg...'
> Subject: SV: Problem using call 'SYSTEM'
> function to copy
> I FS files
>
>
> Hi Russ and Volker.
>
> I found an old program that I made under 3.1H and there it
> used to work (at
> least in '98) I have entered a copy of the program for you,
>
> "Funny" thing is - it does not work any more.
>
> It is possible to enter any OS400 command at the prompt from the abap
> program.
>
> * Testprogram that can execute AS/400 commands.
> * Author: 981028 - Klaus Lindegaard RW-DK
> *
> * For result check as400 joblog under job(AS4DIREXE) user(SAPxx)
> *
> REPORT ZKLI0001.
> PARAMETERS:
> AS4CMD(200) DEFAULT ' '.
> *
> DATA: BEGIN OF MSG OCCURS 0,
> FIELD-200,
> AS4CMD-200,
> END OF MSG.
> *
> CALL 'SYSTEM' ID 'COMMAND' FIELD AS4CMD
> ID 'TAB' FIELD MSG-*SYS*.
>
> In the joblog I see that the execution gets cancelled, (sorry
> for IBM's
> Danish translation of OS400)
>
> 40 01-01-03 08:06:59 QLICKOBJ QSYS 0150
> AS4CMDEXC
>
> Til modul . . . . . . . . . : AS4CMDEXC
>
> Til procedure . . . . . . . : main
>
> Udtryk . . . . . . . . . . : 4
>
> Meddelelse . . : Objekt XPG000325 i bibliotek R3400 er
> ikke fundet.
>
> Årsag . . . . . : Objektet XPG000325 i biblioteket R3400
> af typen *FILE
>
> findes ikke. Enten er navnet på objektet eller biblioteket ikke
> rigtigt,
>
> In short it says object not found termination see is 40 msg
> is CPF9801
>
> So Russ, might just have found a new error.
>
> Regards
> Klaus Lindegaard
>
> PS.: Don't mind the user name this has changed since then. on
> 4.6B it is
> <sid><instance> ex. DEV01
>
> > -----Oprindelig meddelelse-----
> > Fra: russ.cookZg...
> [SMTP:russ.cookZg...]
> > Sendt: 2. januar 2001 23:00
> > Til: SAP on System iZegroups.com
> > Emne: Problem using call 'SYSTEM'
> function to copy IFS
> > files
> >
> > Hi Group:
> >
> > I am trying to execute an AS400 command from an ABAP program using
> > the call 'System' function. The command I am trying to execute is a
> > as400 cpy command to copy a file from one IFS directory to another
> > IFS directory. The IFS directories and the object in the IFS
> > directory have a primary group authorization named 'IXOS1'. I have
> > modified the instance user id PRD02 to be a member of the IXOS1
> > group. When I execute this abap program I see that an
> AS4RDIREXE job
> > is created on the AS400 and run. When I review the AS400 spool file
> > for this job I see that the call to QCMDEXC command failed but it
> > does not list any reason. The command that is executed is:
> >
> > CALL QCMDEXC parm('cpy obj(''/gdsap/IXOT/PRD/upload/D0A243388.rwc'')
> > toobj(''/gdsap/IXOT/PRD/rwctest.txt'')' 84)
> >
> > It appears that this job is submitted under the instance user id
> > PRD02. If I sign on to the AS400 as PRD02 and execute this exact
> > command from the command line then it works. I have spent a great
> > deal of time trying to get this to work but I have not had
> any luck.
> > This program is needed for our IXOS document management system.
> >
> > Kind regards,
> >
> > Russ Cook
> >
> >
> >
> > eGroups Sponsor
> > Click Here!
> >
> <http://rd.consolut.net/M=163100.1220844.2856387.2/D=egroupmail/S
> =1700007389:
> > N/A=524804/*http://www.classmates.com/index.tf?s=2629>
> >
> > To unsubscribe from this group, send an email to:
> > SAP on System i-unsubscribeZegroups.com
> >
> >
> >
>

Durban Tours - Südafrika Safari

ABAP Short Reference   Vendor Master (General Section)  
This documentation is copyright by SAP AG.

Length: 6263 Date: 20230205 Time: 124920     sap01-206 ( 3 ms )