Loading ...
Sorry, an error occurred while loading the content.

Re: [Easy400Group] file overrides in cgi

Expand Messages
  • bomb
    Ciao. try this on RPG :.....0003.00 E*------------------------------------------------------------------* 0004.00 E
    Message 1 of 7 , Feb 1, 2006
    View Source
    • 0 Attachment
      Ciao.
      try this on RPG :

      .....

      0003.00
      E*------------------------------------------------------------------*
      0004.00 E CMD 1 1 80
      COMANDO CL OVRDBF
      0005.00
      I*------------------------------------------------------------------*

      ............

      0204.00
      O*------------------------------------------------------------------*
      0205.00 ** CMD
      0206.00 OVRDBF FILE( ) TOFILE( / )
      MBR( )

      Roberto



      ----- Original Message -----
      From: "Mike Haston ** Data" <mhaston@...>
      To: <Easy400Group@yahoogroups.com>
      Sent: Tuesday, January 31, 2006 4:26 PM
      Subject: RE: [Easy400Group] file overrides in cgi


      > Could you do the override in the RPG program with SQL or EXTFILE/EXTMBR
      > ??
      >
      >
      > -----Original Message-----
      > From: Easy400Group@yahoogroups.com [mailto:Easy400Group@yahoogroups.com]
      > On Behalf Of Shane Bumgarner
      > Sent: Tuesday, January 31, 2006 10:16 AM
      > To: Easy400Group@yahoogroups.com
      > Subject: RE: [Easy400Group] file overrides in cgi
      >
      > I'm still having problems with this.
      > The clle has an override databse file command -
      > OVRDBF FILE(TAPEFILE) TOFILE(QS36F/ADDUSLOD) +
      > OVRSCOPE(*JOB)
      > I compiled the CLLE with
      > default activation group *no
      > and name the activation group - DULODCHK
      >
      > CGI is compiled with
      > default activation group - *no
      > activation group name is - DULODCHK
      >
      > The override still doesn't work. I've tried debugging the job, and it
      > doesn't appear that the CLLE is running in the right activation group,
      > if you look at the job on the http server it appears it's running in the
      > DULODCHK, but if you look at the job on the CLLE it appears to be
      > running in the DAG. I'm not sure why, and I've tried different
      > combinations of activation group settings but still end up with the same
      > results. Seems like it should be easy but maybe I'm missing something.
      > Any suggestions anyone?
      >
      >
      >
      >>>> clarka@... 1/27/2006 4:32:41 PM >>>
      >
      > ILE pgms may require a little different technique for overrides...
      > make
      > sure cl pgm and cgi pgm are running in the same activation group... and
      > use
      > the appropriate override scope...
      >
      > -----Original Message-----
      > From: Easy400Group@yahoogroups.com
      > [mailto:Easy400Group@yahoogroups.com] On Behalf Of Shane Bumgarner
      > Sent: Friday, January 27, 2006 5:10 PM
      > To: Easy400Group@yahoogroups.com
      > Subject: [Easy400Group] file overrides in cgi
      >
      > I've written a cgi program that compares 2 files record counts &
      > compares adds an amount field in each file. I'm calling the program from
      > a CL program. I tried to put an override in the CL to override to a
      > generic filename I'm using in my program & quickly discovered it doesn't
      > work. If I put the real filename in the program and it works. I'm
      > thinking overrides are specific to a job (not sure) so when the cgi gets
      > called it obviously runs in a different job, therefore the override
      > doesn't work. Someone correct me if I'm wrong on this.
      > So can anyone tell me if there's a way to override files for a cgi
      > program? I have about 80 different programs that create files that I
      > override to a generic filename. Anyhelp is appreciated...
      > Shane
      >
      >
      >
      > Yahoo! Groups Links
      >
      >
      >
      >
      >
      >
      >
      >
      >
      >
      > SPONSORED LINKS
      > How to format a computer hard drive Cobol programmer Iseries 400 How to
      > format a computer How to format your computer How to format computer
      > YAHOO! GROUPS LINKS
      >
      > Visit your group "Easy400Group" on the web.
      > To unsubscribe from this group, send an email to:
      > Easy400Group-unsubscribe@yahoogroups.com
      > Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
      >
      >
      >
      >
      >
      >
      >
      > Yahoo! Groups Links
      >
      >
      >
      >
      >
      >
      > ######################################################################
      >
      > NOTICE:
      > The contents of this e-mail and any attachments to it may contain
      > privileged and confidential information from Jones Apparel Group, Inc.
      > or its affiliates. This information is only for the viewing or use
      > of the intended recipient. If you are not the intended recipient,
      > you are hereby notified that any disclosure, copying, distribution or
      > use of, or the taking of any action in reliance upon, the information
      > contained in this e-mail, or any of the attachments to this e-mail,
      > is strictly prohibited. If you have received this e-mail in error,
      > please immediately notify the sender by replying to this message and
      > delete it from your system.
      >
      > ######################################################################
      >
      >
      >
      > Yahoo! Groups Links
      >
      >
      >
      >
      >
      >
      >
      > __________ NOD32 1.1388 (20060130) Information __________
      >
      > This message was checked by NOD32 antivirus system.
      > http://www.eset.com
      >
      >






      ___________________________________
      Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB
      http://mail.yahoo.it
    Your message has been successfully submitted and would be delivered to recipients shortly.