0% found this document useful (0 votes)
789 views4 pages

Re: Name The Air Commands in Ab Initio? Answer #

The document lists numerous Ab Initio string functions including char_string, decimal_lpad, string_length, string_replace, and string_split. It then provides a list of common Ab Initio commands including air object ls to list objects, air object rm to remove objects, air object cat to view objects, and air project show to view project details. The response also defines functions like is_defined() to test for non-null values, is_null() to test for null values, and is_blank() to test for blank strings.

Uploaded by

suri_N
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
789 views4 pages

Re: Name The Air Commands in Ab Initio? Answer #

The document lists numerous Ab Initio string functions including char_string, decimal_lpad, string_length, string_replace, and string_split. It then provides a list of common Ab Initio commands including air object ls to list objects, air object rm to remove objects, air object cat to view objects, and air project show to view project details. The response also defines functions like is_defined() to test for non-null values, is_null() to test for null values, and is_blank() to test for blank strings.

Uploaded by

suri_N
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

There are numerous string functions like :

char_string
decimal_lpad
decimal_lrepad
decimal_strip
is_blank
re_replace
re_replace_first
string_char
string_compare
string_concat
string_filter
string_filter_out
string_join
string_length
string_lpad
string_lrepad
string_lrtrim
string_ltrim
string_pad
string_replace
string_replace_first
string_split
string_substring
string_to_hex
string_trim

Re: name the air commands in ab initio? Answer


#1
Here are the few of the commands we use

1) air object ls <EME Path for the object -


/Projects/edf/.. > --- This is used to see the listing
of
objects in a directory inside the project.

2) air object rm <EME Path for the object -


/Projects/edf/.. > -- This is used to remove an object
from the repository. Please be careful with this.

3) air object cat <EME Path for the object -


/Projects/edf/.. > --- This is used to see the object
which is present in the EME.

4) air object versions -verbose <EME Path for the object


-
/Projects/edf/.. > --- Gives the Version History of the
object.

5) air project show <EME Path for the project -


/Projects/edf/.. > --- Gives the whole info about the
project. What all types of files can be checked-in etc.

6) air project modify <EME Path for the project -


/Projects/edf/.. > -extension <something like *.dat
within
single quotes> <content-type> --- This is to modify the
project settings. Ex: If you need to checkin *.java files
into the EME, you may need to add the extension first.

7) air lock show -project <EME Path for the project -


/Projects/edf/.. > --- shows all the files that are
locked
in the given project

8) air lock show -user <UNIX User ID> -- shows all the
files locked by a user in various projects.

9) air sandbox status <file name with the relative path>


---
shows the status of file in the sandbox with respect to
the EME (Current, Stale, Modified are few statuses)
 
Is This Answer Correct ?   
22 Yes 1 No
0
Puja Singh Srivastava
    Re: name the air commands in ab initio? Answer
#2
air object ls
air object rm
air object cat
air object versions
air project show
air project modify
air lock show -Project
air lock show -user

Re: What is Is_defined(), Is_null(), Is_Blank()? Answer


#1
is_defined : Tests whether an expression results in a
non-
NULL value.

Syn :long is_defined(expr)

is_null :Tests whether an expression results in a NULL


value.

Syntax : long is_null(expr)

is_blank : Tests whether a string contains only blank


characters.

Syntax : long is_blank(string str)

Re: what is hash file in abinitio? how will it read in abinitio? in hash file the data files r combine
(file1.dat,file2.dat,file3.dat......etc) how will it divide? Answer
#2
Partition by Key uses hash function to distribute output
flow
partition according to the key values...

Data may not be distributed across the partition.


hash function: records in file % no.of partitions
 

You might also like