[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference rocks::dec_edi

Title:DEC/EDI
Notice:DEC/EDI V2.1 - see note 2002
Moderator:METSYS::BABER
Created:Wed Jun 06 1990
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:3150
Total number of notes:13466

3010.0. "litte bug in decedi_manage help text" by UTRTSC::SMEETS (Workgroup support) Wed Feb 12 1997 23:05

Hi,

Customer running DEC/EDI V3.1A report the following little bug regarding the
help text displayed in decedi_manage.

# decedi_manage
No option specified
Usage: decedi_manage -option [parameters...]
 -sc <conn_id> [<job_id>]               -- start connection
 -ec <conn_id>                          -- enable connection
 -dc <conn_id>                          -- disable connection
 -tc [enabled|error|locked] <conn_id>   -- test Connection
 -rc <conn_id>                          -- reset connection
 -eg <gateway>                          -- enable gateway
 -dg <gateway>                          -- disable gateway
 -sg <gateway>                          -- start gateway
 -kg <gateway>                          -- kill(stop) gateway
 -tg [enabled|running] <gateway>        -- test gateway
 -h                                     -- display this help

Looking at the syntax of the option -sc one would expect the job_id (IMPEXP, 
IMPORT, EXPORT) to be optional. However the job_id has to be specified otherwise
no action will be taken. The same applies to the options -tc and -tg.

Regards,

Martin
T.RTitleUserPersonal
Name
DateLines
3010.1job id is optional for non-job based gatewaysSYSTEM::NELSONDavid, http://samedi.reo.dec.com/Thu Feb 13 1997 11:2512
    
    >	 -sc <conn_id> [<job_id>]               -- start connection
    
    	I believe <job_id> is optional because non-job related
    	gateways do not need this parameter.  The non-job related
    	gateways are PEDI and OFTP.  However, for gateways that
    	require jobs, IMPEXP and 3780 (Bisync), a job id is 
    	required.  
    
    	Please let me know if you and/or the customer felt that
    	the man page for decedi_manage didn't explain this clearly
    	so I can bug note it.
3010.2required versus optionalUTRTSC::SMEETSWorkgroup supportThu Feb 13 1997 16:5826
Hi David,

>>  I believe <job_id> is optional because non-job related
>>  gateways do not need this parameter.  The non-job related
>>  gateways are PEDI and OFTP.  However, for gateways that
>>  require jobs, IMPEXP and 3780 (Bisync), a job id is
>>  required.
 
man decedi_manage shows the following:

Flags

  -sc                 Sends a Start Connection request to the communications
                      controller for the specified Connection Id. An optional
                      Job Id can be specified for Job based connections, such
                      as those used by the Import/Export and 3780 gateways.

This looks like a contradiction to me. You state it is required, the help text
states it is optional....

It's not a big deal but some examples or a more detailed help could probably 
take away the confusion.

Regards,

Martin
3010.3METSYS::NELSONDavid, http://samedi.reo.dec.com/Thu Feb 13 1997 19:576
    	Martin,
    
    	I've bug noted it.
    
    	Cheers,
    	   David