ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

Using Dataq Between 2 As400

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Using Dataq Between 2 As400

    I Need To Communicate 2 As400 Using Dataq, How You Do That??

    Help Please!!

  • #2
    Re: Using Dataq Between 2 As400

    remote location "PEORIA" is remote AS400 define on my local box
    The key here is change *STD to *DDM on the create command
    and create a dataq on both systems....may be a good idea to name them the same....



    Code:
                               Create Data Queue (CRTDTAQ)                          
                                                                                    
     Type choices, press Enter.                                                     
                                                                                    
     Data queue . . . . . . . . . . . > TEST          Name                          
       Library  . . . . . . . . . . . >   JAMIELIB    Name, *CURLIB                 
     Type . . . . . . . . . . . . . . > *DDM          *STD, *DDM                    
     Remote data queue  . . . . . . . > REMOTETEST    Name                          
       Library  . . . . . . . . . . . >   REMOTELIB   Name, *LIBL, *CURLIB          
     Remote location  . . . . . . . . > PEORIA        Name, *RDB                    
     Relational database  . . . . . .                                               
     APPC device description  . . . .   *LOC          Name, *LOC                    
     Local location . . . . . . . . .   *LOC          Name, *LOC, *NETATR           
     Mode . . . . . . . . . . . . . .   *NETATR       Name, *NETATR                 
     Remote network identifier  . . .   *LOC          Name, *LOC, *NETATR, *NONE    
     Text 'description' . . . . . . .   *BLANK
    All my answers were extracted from the "Big Dummy's Guide to the As400"
    and I take no responsibility for any of them.

    www.code400.com

    Comment

    Working...
    X