Air & M Commands in Ab Initio
1 m_dump is a very useful command to print information about data record in Ab
initio using record format. It prints information about data records, their record
format, and the evaluations of expressions.
2 Just like cp command, m_cp copies one or more files or multifiles to the target path
m_cp <filename_to_copy> <new_file_name>
3 Using m_partition, you can partition a serial file to a multifile.
4.
m_rollback command in Ab initio
A very useful command. this is used to rollback a failed job back to the last computed checkpoint.
5 Similar like touch command in UNIX, m_touch will create an empty file or a multi file.
Syntax
m_touch <filename>
6 m_wc - Just like wc, we can use m_wc to get the reocord/line count of a file in Ab initio
AIR commands
1 The air project export command in Ab Initio is used to export a project or component to a
directory or archive file. This allows you to share or distribute your Ab Initio project or
component to other users or systems.
Syntax:
air project export [options] <project_name> <destination>
he air project import command in Ab Initio is used to import a project or component from a
directory or archive file into your Ab Initio environment. This allows you to share or distribute
your Ab Initio project or component to other users or systems.
Syntax:
air project import [options] <source> <project_name>
air tag create command in Ab initio
Create a tag
air tag create <tag_name> -files <filename>
List EME objects
air object ls
Copy objects within EME
air object cp
The air object cat command in Ab Initio is used to view the contents of an object in a human-
readable format.
air object cat <object_name>
Remove an object in the EME
air object rm
Rollback an objects to a previous version
air object rollback -to-version <object>
Display EME versions of an object in the Repository
air object versions <object>