Micrograph In Abinitio

                                                     Micrograph In Abinitio


Watch my youtube videos for complete understanding on micrograph




Micrographs and Transactionability



Chapter1, Introduction

 

a. What are micrographs

. a kind of batch graph

. it is executed as a single process 

. they deployed to create micrograph object .mg file

. Normally they are used in service oriented architecture 

a) transaction processing

b) web services processing

. called by RUN MICROGRAPH component

b. Why we need micrographs

 

 

c. How to Setup Micrographs

d. Restrictions on Micrographs

   component folding

1. DB components 

2. file path name absolute

3. flows and layout - straight flow and serial layput

4. components must be foldable

5. graphs scripts - do not use these start and end scripts

6. no nesting 

7. phase break , single phase , no checkpoint

8. run mode - micrograph

9. partion_path , this_partion, no_of_partions()









Chapter2. About Micrograph Components

        

p. Run Micrograph

incount  1

outcount 2

package 

processing_timeout 0

memory_limit 200m

reject_threshold  abort on first reject

logging false

doc_transform

Mandatory Ports:

control port

status port

Optional Ports:

input and output ports

q. Micrograph Input

test_file:pathOfTestData

r. Micrograph Output

test_file:pathOfResultData







Chapter 3. Deploying a micrograph


m_deploy_micrograph <nameof.mpfile/.psetfile> <name of .mg file>

example

m_deploy_micrograph $PROJECT_DIR/mp/account_balance.mp $PROJECT_DIR/run/account_balance.mg


packgage:


ececution_spec::prepare_execution(control)=

begin

execution_spec.micrograph_object_file:1:if(control.soapheaders.soapaction=='balance') $PROJECT_DIR/run/account_balance.mg;

end;


status::create_status(execution_result,control)=

begin

status.success::1;

status.*::control.*;


end;



Chapter 3  Example Micrograph




For More Abinitio, AWS, Database content please visit my youTube channel.






 



Comments

Popular posts from this blog

Abinitio Interview Question # 1 - Write Multiple Files in Abinitio

Next In Sequence in ABinitio | How next_in_sequence() works in MFS