SlideShare a Scribd company logo
Mule ESB – DataWeave - CopyBook
CopyBook Tutorial
What is COBOL?
 COBOL stands for Common Business Oriented Language. The US
Department of Defense, in a conference, formed CODASYL (Conference
on Data Systems Language) to develop a language for business data
processing needs which is now known as COBOL.
 COBOL is used for writing application programs and we cannot use it to
write system software. The applications like those in defense domain,
insurance domain, etc. which require huge data processing make
extensive use of COBOL.
Importance of COBOL
 COBOL was the first widely used high-level programming language. It is an
English-like language which is user friendly. All the instructions can be
coded in simple English words.
 COBOL is also used as a self-documenting language.
 COBOL can handle huge data processing.
 COBOL is compatible with its previous versions.
 COBOL has effective error messages and so, resolution of bugs is easier.
COBOL Coding Syntax:
Positions Field Description
1-6 Column Numbers Reserved for line numbers.
7 Indicator Indicating comments, can have either (*, -, /),
8-11 Area A All COBOL divisions, sections, paragraphs and some special entries
must begin in Area A.
12-72 Area B All COBOL statements must begin in area B.
73-80 Identification Area It can be used as needed by the programmer.
Leveling Numbers :
Level Number Description
01 Record description entry
02 to 49 Group and Elementary items
66 Rename Clause items
77 Items which cannot be sub-divided
88 Condition name entry
DataTypes :
Symbol Description
9 Numeric
A Alphabetic
X Alphanumeric
V Implicit Decimal
S Sign
P Assumed Decimal
Sample CopyBook :
01 BOOK-RECORD.
03 BOOK-KEY.
05 BOOK-ISBN PIC X(10).
03 BOOK-TITLE PIC X(32).
03 BOOK-AUTHOR PIC X(32).
03 BOOK-CATEGORY PIC X(10).
03 BOOK-STOCK PIC X(5).
Thank Q

More Related Content

What's hot

Computer and its language
Computer and its languageComputer and its language
Computer and its language
AkshitKumar72
 
Introduction to c
Introduction to cIntroduction to c
Introduction to c
poojaanuragchouhan
 
Lecture 1
Lecture 1Lecture 1
Lecture 1
Tanveer Malik
 
Concept of computer programming iv
Concept of computer programming ivConcept of computer programming iv
Concept of computer programming ivEyelean xilef
 
Introduction of 'C' langauge
Introduction of  'C'  langaugeIntroduction of  'C'  langauge
Introduction of 'C' langauge
Aradhana Srivastava
 
Assignment on basic programming language
Assignment on  basic programming languageAssignment on  basic programming language
Assignment on basic programming language
Guru buying house , Main branch ,Barishal.
 

What's hot (6)

Computer and its language
Computer and its languageComputer and its language
Computer and its language
 
Introduction to c
Introduction to cIntroduction to c
Introduction to c
 
Lecture 1
Lecture 1Lecture 1
Lecture 1
 
Concept of computer programming iv
Concept of computer programming ivConcept of computer programming iv
Concept of computer programming iv
 
Introduction of 'C' langauge
Introduction of  'C'  langaugeIntroduction of  'C'  langauge
Introduction of 'C' langauge
 
Assignment on basic programming language
Assignment on  basic programming languageAssignment on  basic programming language
Assignment on basic programming language
 

Similar to Mule copy book-tutorial

Introduction to COBOL Programming Language
Introduction to COBOL Programming LanguageIntroduction to COBOL Programming Language
Introduction to COBOL Programming Language
JessieBenson1
 
Why COBOL is Still Relevant Today - cobol programmer.pdf
Why COBOL is Still Relevant Today - cobol programmer.pdfWhy COBOL is Still Relevant Today - cobol programmer.pdf
Why COBOL is Still Relevant Today - cobol programmer.pdf
Abel Willium
 
Programming And Programming languages.pptx
Programming And Programming languages.pptxProgramming And Programming languages.pptx
Programming And Programming languages.pptx
Rohan Basnet
 
all languages in computer programming
all languages in computer programmingall languages in computer programming
all languages in computer programming
hamza239523
 
Welcome to the .Net
Welcome to the .NetWelcome to the .Net
Welcome to the .NetAmr Shawky
 
Programming language
Programming languageProgramming language
Programming language
Dhani Ahmad
 
Visual basic
Visual basicVisual basic
Visual basicDharmik
 
WEBSITE DEVELOPMENT
WEBSITE DEVELOPMENTWEBSITE DEVELOPMENT
WEBSITE DEVELOPMENT
shahzadebaujiti
 
IBM Z for the Digital Enterprise 2018 - Leverage best language for Transforma...
IBM Z for the Digital Enterprise 2018 - Leverage best language for Transforma...IBM Z for the Digital Enterprise 2018 - Leverage best language for Transforma...
IBM Z for the Digital Enterprise 2018 - Leverage best language for Transforma...
DevOps for Enterprise Systems
 
Looking into COBOL and Being Serious About it
Looking into COBOL  and Being Serious About itLooking into COBOL  and Being Serious About it
Looking into COBOL and Being Serious About it
Charlie
 
OBJECT ORIENTED PROGRAMMING.docx
OBJECT ORIENTED PROGRAMMING.docxOBJECT ORIENTED PROGRAMMING.docx
OBJECT ORIENTED PROGRAMMING.docx
AleKi2
 
Android Development with Kotlin course
Android Development  with Kotlin courseAndroid Development  with Kotlin course
Android Development with Kotlin course
GoogleDevelopersLeba
 
Android with kotlin course
Android with kotlin courseAndroid with kotlin course
Android with kotlin course
Abdul Rahman Masri Attal
 
Programming lesson1
Programming lesson1Programming lesson1
Programming lesson1camfollower
 
COBOLizer - Plain Concepts - Microsoft WE ALM partner summit 2011
COBOLizer - Plain Concepts - Microsoft WE ALM partner summit 2011COBOLizer - Plain Concepts - Microsoft WE ALM partner summit 2011
COBOLizer - Plain Concepts - Microsoft WE ALM partner summit 2011
Jose Luis Soria
 
Learning activity 3
Learning activity 3Learning activity 3
Learning activity 3
Aileen Banaguas
 
Ikuti Public Training AS/400 SQL Implementation & Embedded Programming (24-28...
Ikuti Public Training AS/400 SQL Implementation & Embedded Programming (24-28...Ikuti Public Training AS/400 SQL Implementation & Embedded Programming (24-28...
Ikuti Public Training AS/400 SQL Implementation & Embedded Programming (24-28...
Hany Paulina
 

Similar to Mule copy book-tutorial (20)

Introduction to COBOL Programming Language
Introduction to COBOL Programming LanguageIntroduction to COBOL Programming Language
Introduction to COBOL Programming Language
 
Why COBOL is Still Relevant Today - cobol programmer.pdf
Why COBOL is Still Relevant Today - cobol programmer.pdfWhy COBOL is Still Relevant Today - cobol programmer.pdf
Why COBOL is Still Relevant Today - cobol programmer.pdf
 
Programming And Programming languages.pptx
Programming And Programming languages.pptxProgramming And Programming languages.pptx
Programming And Programming languages.pptx
 
Cobol
CobolCobol
Cobol
 
all languages in computer programming
all languages in computer programmingall languages in computer programming
all languages in computer programming
 
Welcome to the .Net
Welcome to the .NetWelcome to the .Net
Welcome to the .Net
 
Programming language
Programming languageProgramming language
Programming language
 
Visual basic
Visual basicVisual basic
Visual basic
 
WEBSITE DEVELOPMENT
WEBSITE DEVELOPMENTWEBSITE DEVELOPMENT
WEBSITE DEVELOPMENT
 
Chapter 5
Chapter 5Chapter 5
Chapter 5
 
IBM Z for the Digital Enterprise 2018 - Leverage best language for Transforma...
IBM Z for the Digital Enterprise 2018 - Leverage best language for Transforma...IBM Z for the Digital Enterprise 2018 - Leverage best language for Transforma...
IBM Z for the Digital Enterprise 2018 - Leverage best language for Transforma...
 
Looking into COBOL and Being Serious About it
Looking into COBOL  and Being Serious About itLooking into COBOL  and Being Serious About it
Looking into COBOL and Being Serious About it
 
OBJECT ORIENTED PROGRAMMING.docx
OBJECT ORIENTED PROGRAMMING.docxOBJECT ORIENTED PROGRAMMING.docx
OBJECT ORIENTED PROGRAMMING.docx
 
Android Development with Kotlin course
Android Development  with Kotlin courseAndroid Development  with Kotlin course
Android Development with Kotlin course
 
Android with kotlin course
Android with kotlin courseAndroid with kotlin course
Android with kotlin course
 
Programming lesson1
Programming lesson1Programming lesson1
Programming lesson1
 
COBOLizer - Plain Concepts - Microsoft WE ALM partner summit 2011
COBOLizer - Plain Concepts - Microsoft WE ALM partner summit 2011COBOLizer - Plain Concepts - Microsoft WE ALM partner summit 2011
COBOLizer - Plain Concepts - Microsoft WE ALM partner summit 2011
 
Bca cobol
Bca cobolBca cobol
Bca cobol
 
Learning activity 3
Learning activity 3Learning activity 3
Learning activity 3
 
Ikuti Public Training AS/400 SQL Implementation & Embedded Programming (24-28...
Ikuti Public Training AS/400 SQL Implementation & Embedded Programming (24-28...Ikuti Public Training AS/400 SQL Implementation & Embedded Programming (24-28...
Ikuti Public Training AS/400 SQL Implementation & Embedded Programming (24-28...
 

More from Nagendra Kumar

Polling with watermark
Polling with watermarkPolling with watermark
Polling with watermark
Nagendra Kumar
 
M unit testing example
M unit testing exampleM unit testing example
M unit testing example
Nagendra Kumar
 
Mulesoft connector devkit
Mulesoft connector devkitMulesoft connector devkit
Mulesoft connector devkit
Nagendra Kumar
 
Mule flatfile-json
Mule flatfile-jsonMule flatfile-json
Mule flatfile-json
Nagendra Kumar
 
Cache scope
Cache scopeCache scope
Cache scope
Nagendra Kumar
 
Mule flatfile-json
Mule flatfile-jsonMule flatfile-json
Mule flatfile-json
Nagendra Kumar
 
Mule xml java
Mule xml javaMule xml java
Mule xml java
Nagendra Kumar
 

More from Nagendra Kumar (7)

Polling with watermark
Polling with watermarkPolling with watermark
Polling with watermark
 
M unit testing example
M unit testing exampleM unit testing example
M unit testing example
 
Mulesoft connector devkit
Mulesoft connector devkitMulesoft connector devkit
Mulesoft connector devkit
 
Mule flatfile-json
Mule flatfile-jsonMule flatfile-json
Mule flatfile-json
 
Cache scope
Cache scopeCache scope
Cache scope
 
Mule flatfile-json
Mule flatfile-jsonMule flatfile-json
Mule flatfile-json
 
Mule xml java
Mule xml javaMule xml java
Mule xml java
 

Recently uploaded

Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Thierry Lestable
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Paige Cruz
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Albert Hoitingh
 
Free Complete Python - A step towards Data Science
Free Complete Python - A step towards Data ScienceFree Complete Python - A step towards Data Science
Free Complete Python - A step towards Data Science
RinaMondal9
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
DanBrown980551
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
Jemma Hussein Allen
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Aggregage
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
Alison B. Lowndes
 
By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024
Pierluigi Pugliese
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
UiPathCommunity
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
Product School
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Product School
 
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
UiPathCommunity
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
Elena Simperl
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
Thijs Feryn
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
KatiaHIMEUR1
 

Recently uploaded (20)

Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
 
Free Complete Python - A step towards Data Science
Free Complete Python - A step towards Data ScienceFree Complete Python - A step towards Data Science
Free Complete Python - A step towards Data Science
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
 
By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
 
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
 

Mule copy book-tutorial

  • 1. Mule ESB – DataWeave - CopyBook CopyBook Tutorial
  • 2. What is COBOL?  COBOL stands for Common Business Oriented Language. The US Department of Defense, in a conference, formed CODASYL (Conference on Data Systems Language) to develop a language for business data processing needs which is now known as COBOL.  COBOL is used for writing application programs and we cannot use it to write system software. The applications like those in defense domain, insurance domain, etc. which require huge data processing make extensive use of COBOL.
  • 3. Importance of COBOL  COBOL was the first widely used high-level programming language. It is an English-like language which is user friendly. All the instructions can be coded in simple English words.  COBOL is also used as a self-documenting language.  COBOL can handle huge data processing.  COBOL is compatible with its previous versions.  COBOL has effective error messages and so, resolution of bugs is easier.
  • 4. COBOL Coding Syntax: Positions Field Description 1-6 Column Numbers Reserved for line numbers. 7 Indicator Indicating comments, can have either (*, -, /), 8-11 Area A All COBOL divisions, sections, paragraphs and some special entries must begin in Area A. 12-72 Area B All COBOL statements must begin in area B. 73-80 Identification Area It can be used as needed by the programmer.
  • 5. Leveling Numbers : Level Number Description 01 Record description entry 02 to 49 Group and Elementary items 66 Rename Clause items 77 Items which cannot be sub-divided 88 Condition name entry
  • 6. DataTypes : Symbol Description 9 Numeric A Alphabetic X Alphanumeric V Implicit Decimal S Sign P Assumed Decimal
  • 7. Sample CopyBook : 01 BOOK-RECORD. 03 BOOK-KEY. 05 BOOK-ISBN PIC X(10). 03 BOOK-TITLE PIC X(32). 03 BOOK-AUTHOR PIC X(32). 03 BOOK-CATEGORY PIC X(10). 03 BOOK-STOCK PIC X(5).