Changes between Version 5 and Version 6 of WF/Conexaocommainframe


Ignore:
Timestamp:
07/30/07 15:43:13 (17 years ago)
Author:
cassiomaes
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WF/Conexaocommainframe

    v5 v6  
    235235 
    236236/ * 
    237  
    238237 * Neste exemplo o formato de arquivo retornado pelo mainframe contém 2 campos de tamanho 5 e 30, respectivamente. 
    239  
    240238 * Considera-se também que cada linha tem 200 caracteres 
    241  
    242239 */ 
    243240 
     
    245242 
    246243$natural = wf_create_object("wf_natural"); 
    247  
    248244$natural->configure("SUB_PROG", ""); 
    249  
    250245$natural->setDBGatewayProtocol(); 
    251  
    252246$natural->execute(); 
    253247 
     
    262256    $result = $natural->getDataParameter(); 
    263257 
    264  
    265  
    266258    // Configura ResultSet para manipular os dados 
    267259 
     
    271263 
    272264    while ($natural->resultSet->getNextRow()){ 
    273  
    274265        echo $natural->resultSet->getFieldByName("id"); 
    275  
    276266        echo $natural->resultSet->getFieldByName("nome"); 
    277  
    278267    } 
    279268