Saturday, June 7, 2014

RAJU



Find(Ctrl+F) with 9 or 6 Then Highlight(Alt+A)

66666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666
66666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666
66666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666
66666699999999999999999999666666669999999999999999666669999999999999999999999669999999966666699999999666666
66666699999999999999999999996666999999999999999999996669999999999999999999999669999999966666699999999666666
66666699999999999999999999999669999999999999999999999669999999999999999999999669999999966666699999999666666
66666699999999666669999999999669999999996666999999999666666666666669999999966669999999966666699999999666666
66666699999999666666999999999669999999966666699999999666666666666669999999966669999999966666699999999666666
66666699999999666669999999999669999999966666699999999666666666666669999999966669999999966666699999999666666
66666699999999999999999999996669999999999999999999999666666666666669999999966669999999966666699999999666666
66666699999999999999999999966669999999999999999999999669999999966669999999966669999999966666699999999666666
66666699999999999999999999996669999999999999999999999669999999966669999999966669999999966666699999999666666
66666699999999666666999999999669999999966666699999999669999999996699999999966669999999996666999999999666666
66666699999999666666999999999669999999966666699999999669999999999999999999966669999999999999999999999666666
66666699999999666666999999999669999999966666699999999666999999999999999999666666999999999999999999996666666
66666699999999666666999999999669999999966666699999999666669999999999999966666666669999999999999999666666666
66666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666
66666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666
66666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666

Tuesday, May 27, 2014

BI Publisher Locale codes

Supported languages and code pages

You can specify that the text documents be parsed using a particular language when you first create a text search index. You can also specify that the query terms be interpreted in a particular language while searching. In addition, you can specify a code page when you create a text search index on a binary data type column.

Language specification

A locale is a combination of language and territory (region or country) information and is represented by a five-character locale code. You define the message locale for a text search administration procedure by passing the procedure the locale code. Refinements of these locale codes are possible depending on the locales installed on the DB2® server.
There is an important difference between specifying a language when you create a text search index and specifying a language when you issue a search query:
  • The locale that you specify in your db2ts CREATE INDEX command determines the language used to tokenize or analyze documents for indexing. If you know that all documents in the column to be indexed use a specific language, specify the applicable locale when you create the text search index. If you do not specify a locale, the database territory will be used to determine the default setting for LANGUAGE. To have your documents automatically scanned to determine the locale, in the SYSIBMTS.TSDEFAULTS view, set the LANGUAGE attribute to AUTO. The SYSIBMTS.TSDEFAULTS view describes database defaults for text search using attribute-value pairs.
  • The locale that you specify in a search query is used to perform linguistic processing on the query and to help identify the base forms of the query term. After the locale of the base form has been identified, the locale does not play any part in the search process itself. Thus, you could use the English language for a query and obtain German documents in the search result if the search term in its base form is present in the documents.
The following table lists the locales that DB2 Text Search supports for document processing.
Table 1. Supported locales
Locale code Language Territory
ar_AA Arabic Arabic countries or regions
cs_CZ Czech Czech Republic
da_DK Danish Denmark
de_CH German Switzerland
de_DE German Germany
el_GR Greek Greece
en_AU English Australia
en_GB English United Kingdom
en_US English United States
es_ES Spanish Spain
fi_FI Finnish Finland
fr_CA French Canada
fr_FR French France
it_IT Italian Italy
ja_JP Japanese Japan
ko_KR Korean Korea, Republic of
nb_NO Norwegian Bokmål Norway
nl_NL Dutch Netherlands
nn_NO Norwegian Nynorsk Norway
pl_PL Polish Poland
pt_BR Portuguese Brazil
pt_PT Portuguese Portugal
ru_RU Russian Russia
sv_SE Swedish Sweden
zh_CN Chinese China
zh_TW Chinese Taiwan

Code page specification

You can index documents if they use one of the supported DB2 code pages. Although specifying the code page when creating a text search index is optional, doing so helps to identify the character encoding of binary columns. If you do not specify a code page for binary columns, the code page from the column property is used. The list of supported territory codes and code pages can be found here.

FND SCRIPTS

The Generic Loader (FNDLOAD) is a concurrent program that can transfer Oracle Application entity data between database and text file. The loader reads a configuration file to determine which entity to access. In simple words FNDLOAD is used to transfer entity data from one instance/database to other. For example if you want to move a concurrent program/menu/value sets developed in DEVELOPMENT instance to PRODUCTION instance you can use this command.


Steps to Move a Concurrent program from one instance(Database) to other


Define your concurrent program and save it in first instance(for how to register a concurrent program click here)
Connect to your UNIX box on first instance and run the following command to download the .ldt file
FNDLOAD apps/apps O Y DOWNLOAD $FND_TOP/patch/115/import/afcpprog.lct file_name.ldt PROGRAM APPLICATION_SHORT_NAME=”Concurrent program application short name” CONCURRENT_PROGRAM_NAME=”concurrent program short name”
Move the downloaded .ldf file to new instance(Use FTP)
Connect to your UNIX box on second instance and run the following command to upload the .ldt file
FNDLOAD apps/apps 0 Y UPLOAD $FND_TOP/patch/115/import/afcpprog.lct file_name.ldt
Note: Make sure you are giving proper .lct file in the commands and don’t confuse with .lct and .ldt files


These following are the other entity data types that we can move with FNDLOAD


1 – Printer Styles
FNDLOAD apps/apps O Y DOWNLOAD $FND_TOP/patch/115/import/afcppstl.lct file_name.ldt STYLE PRINTER_STYLE_NAME=”printer style name”


2 – Lookups
FNDLOAD apps/apps O Y DOWNLOAD $FND_TOP/patch/115/import/aflvmlu.lct file_name.ldt FND_LOOKUP_TYPE APPLICATION_SHORT_NAME=”FND”
LOOKUP_TYPE=”lookup name”


3 – Descriptive Flexfield with all of specific Contexts
FNDLOAD apps/apps O Y DOWNLOAD $FND_TOP/patch/115/import/afffload.lct file_name.ldt DESC_FLEX P_LEVEL=COL_ALL:REF_ALL:CTX_ONE:SEG_ALL APPLICATION_SHORT_NAME=”FND” DESCRIPTIVE_FLEXFIELD_NAME=”desc flex name” P_CONTEXT_CODE=”context name”


4 – Key Flexfield Structures
FNDLOAD apps/apps O Y DOWNLOAD $FND_TOP/patch/115/import/afffload.lct file_name.ldt KEY_FLEX P_LEVEL=COL_ALL:FQL_ALL:SQL_ALL:STR_ONE:WFP_ALL:SHA_ALL:CVR_ALL:SEG_ALL APPLICATION_SHORT_NAME=”FND” ID_FLEX_CODE=”key flex code” P_STRUCTURE_CODE=”structure name”


5 – Concurrent Programs
FNDLOAD apps/apps O Y DOWNLOAD $FND_TOP/patch/115/import/afcpprog.lct file_name.ldt PROGRAM APPLICATION_SHORT_NAME=”FND” CONCURRENT_PROGRAM_NAME=”concurrent name”


6 – Value Sets
FNDLOAD apps/apps O Y DOWNLOAD $FND_TOP/patch/115/import/afffload.lct file_name.ldt VALUE_SET_VALUE FLEX_VALUE_SET_NAME=”value set name”


7 – Value Sets with values
FNDLOAD apps/apps O Y DOWNLOAD $FND_TOP/patch/115/import/afffload.lct file_name.ldt VALUE_SET FLEX_VALUE_SET_NAME=”value set name”


8 – Profile Options
FNDLOAD apps/apps O Y DOWNLOAD $FND_TOP/patch/115/import/afscprof.lct file_name.ldt PROFILE PROFILE_NAME=”profile option” APPLICATION_SHORT_NAME=”FND”


8 – Request Groups
FNDLOAD apps/apps O Y DOWNLOAD $FND_TOP/patch/115/import/afcpreqg.lct file_name.ldt REQUEST_GROUP REQUEST_GROUP_NAME=”request group” APPLICATION_SHORT_NAME=”FND”


10 – Request Sets
FNDLOAD apps/apps O Y DOWNLOAD $FND_TOP/patch/115/import/afcprset.lct file_name.ldt REQ_SET
APPLICATION_SHORT_NAME=”FND” REQUEST_SET_NAME=”request set”


11 – Responsibilities
FNDLOAD apps/apps O Y DOWNLOAD $FND_TOP/patch/115/import/afscursp.lct file_name.ldt FND_RESPONSIBILITY RESP_KEY=”responsibility”


12 – Menus
FNDLOAD apps/apps O Y DOWNLOAD $FND_TOP/patch/115/import/afsload.lct file_name.ldt MENU MENU_NAME=”menu_name”


13 – Forms Personalization
FNDLOAD apps/apps 0 Y DOWNLOAD $FND_TOP/patch/115/import/affrmcus.lct file_name.ldt FND_FORM_CUSTOM_RULES function_name=FUNCTION_NAME


Note: UPLOAD command is same for all except replacing the .lct and passing any extra parameters if you want to pass


FNDLOAD apps/apps 0 Y UPLOAD $FND_TOP/patch/115/import/corresponding.lct upload_file.ldt


sql_Queries

1)Display the records between two range


select rownum, empno, ename from emp where rowid in
(select rowid from emp where rownum <=&upto
minus
select rowid from emp where rownum<&Start);
        (or)
select rownum, empno, ename from emp where rownum <=&upto
minus
select rownum, empno, ename from emp where rownum<&Start

output:


SQL> select rownum, empno, ename from emp where rownum <=&upto
  2  minus
  3  select rownum, empno, ename from emp where rownum<&Start;
Enter value for upto: 4
old   1: select rownum, empno, ename from emp where rownum <=&upto
new   1: select rownum, empno, ename from emp where rownum <=4
Enter value for start: 1
old   3: select rownum, empno, ename from emp where rownum<&Start
new   3: select rownum, empno, ename from emp where rownum<1

ROWNUM EMPNO ENAME
------ ----- ----------
     1  7369 SMITH
     2  7499 ALLEN
     3  7521 WARD
     4  7566 JONES

2)Display the number value in Words
SQL> select sal,(to_char(to_date(sal,'j'),'jsp')) as words from emp where deptno=10
  2  ;

            SAL WORDS
--------------- ------------------------------------------------------------------------------
           2450 two thousand four hundred fifty
           5000 five thousand
           1300 one thousand three hundred

3)To view installed Oracle version information

SQL> select * from v$version;

BANNER
----------------------------------------------------------------
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Prod
PL/SQL Release 10.2.0.3.0 - Production
CORE    10.2.0.3.0      Production
TNS for 32-bit Windows: Version 10.2.0.3.0 - Production
NLSRTL Version 10.2.0.3.0 - Production

SQL> desc V$version;
 Name                                                                                                              Null?
 ---------------------------------------------------------------------------------------------------
 BANNER                                                                                                                 

4)Find out nth highest salary from emp table

SQL> SELECT DISTINCT (a.sal) FROM EMP A WHERE &N = (SELECT COUNT (DISTINCT (b.sal)) FROM EMP B
  2  WHERE a.sal<=b.sal);

Enter value for n: 2
old   1: SELECT DISTINCT (a.sal) FROM EMP A WHERE &N = (SELECT COUNT (DISTINCT (b.sal)) FROM EMP B
new   1: SELECT DISTINCT (a.sal) FROM EMP A WHERE 2 = (SELECT COUNT (DISTINCT (b.sal)) FROM EMP B

            SAL
---------------
           3000

5)Display Odd/ Even number of records

Odd number of records:

SQL> select * from emp where (rowid,1) in (select rowid, mod(rownum,2) from emp);

          EMPNO ENAME      JOB                   MGR HIREDATE              SAL            COMM          DEPTNO
--------------- ---------- --------- --------------- --------- --------------- --------------- -----
           7369 SMITH      CLERK                7902 17-DEC-80             800                              20
           7521 WARD       SALESMAN             7698 22-FEB-81            1250             500              30
           7654 MARTIN     SALESMAN             7698 28-SEP-81            1250            1400              30
           7782 CLARK      MANAGER              7839 09-JUN-81            2450                              10
           7839 KING       PRESIDENT                 17-NOV-81            5000                              10
           7876 ADAMS      CLERK                7788 23-MAY-87            1100                              20
           7902 FORD       ANALYST              7566 03-DEC-81            3000                              20

7 rows selected.

Even number of records:

SQL> select * from emp where (rowid,0) in (select rowid, mod(rownum,2) from emp);

          EMPNO ENAME      JOB                   MGR HIREDATE              SAL            COMM          DEPTNO
--------------- ---------- --------- --------------- --------- --------------- --------------- -----
           7499 ALLEN      SALESMAN             7698 20-FEB-81            1600             300              30
           7566 JONES      MANAGER              7839 02-APR-81            2975                              20
           7698 BLAKE      MANAGER              7839 01-MAY-81            2850                              30
           7788 SCOTT      ANALYST              7566 19-APR-87            3000                              20
           7844 TURNER     SALESMAN             7698 08-SEP-81            1500               0              30
           7900 JAMES      CLERK                7698 03-DEC-81             950                              30
           7934 MILLER     CLERK                7782 23-JAN-82            1300                              10

7 rows selected.

6)Other way to replace query result null value with a text
SQL> set null 'n/a'
SQL> select comm from emp where deptno=10
  2  ;

           COMM
---------------
n/a
n/a
n/a


To Reset:

SQL> set NULL ''
SQL> select comm from emp where deptno=10
  2  ;

           COMM
---------------


8)How do I eliminate the duplicate rows ?

delete from table_name where rowid not in (select max(rowid) from table group by
duplicate_values_field_name);

SQL> delete from emp where rowid not in (select max(rowid) from emp group by deptno);

11 rows deleted.

SQL> select * from emp;

          EMPNO ENAME      JOB                   MGR HIREDATE              SAL            COMM          DEPTNO
--------------- ---------- --------- --------------- --------- --------------- --------------- -----
           7900 JAMES      CLERK                7698 03-DEC-81             950                              30
           7902 FORD       ANALYST              7566 03-DEC-81            3000                              20
           7934 MILLER     CLERK                7782 23-JAN-82            1300                              10

9)To clear the sql propmpt screen we can use

sql>cl scr
sql>clear screen
sql>cl screen
sql>clear scr

10)Change SQL prompt name

SQL> set sqlprompt "raj>"
raj>set sqlprompt "sql>"

11)display 1st and last records of a table

SQL> select * from emp where rownum=1 union select * from emp where rowid in(select max(rowid) from emp)
        or
     select * from emp where rowid in((select max(rowid) from emp),(select min(rowid) from emp))

EMPNO ENAME      JOB        MGR HIREDATE   SAL COMM DEPTNO
----- ---------- --------- ---- --------- ---- ---- ------
 7369 SMITH      CLERK     7902 17-DEC-80  800          20
 7934 MILLER     CLERK     7782 23-JAN-82 1300          10




Friday, May 23, 2014

Oracle Built in functions

Refer
http://psoug.org/reference/builtin_functions.html

http://sairamgoudmalla.blogspot.in/2008/12/oracle-built-in-functions.html

Sunday, May 11, 2014

USER EXITS

USER EXITS

User Exits are C and Pro C programs which is used to initialize and capture profile values and flex fields.
User Exits are C and Pro C compilers which are used to capture values of different environment variables.

Type of User Exits

SRW.USER_EXIT (‘FND SRWINIT’);
SRW.USER_EXIT (‘FND SRWEXIT’);
SRW.USER_EXIT (‘FND FLEXSQL’);
SRW.USER_EXIT (‘FND FLEXVALID’);
SRW.USER_EXIT (‘FND FORMAT_CURRENCY’);

Description

1)  SRW.USER_EXIT (‘FND SRWINIT’);
                Is used to initialize profile values.

2)  SRW.USER_EXIT (‘FND SRWEXIT’);
      Is used to free the memory allocated.

3)       SRW.USER_EXIT (‘FND FLEXSQL’);
                Is used to capture description of code combinations.

4)  SRW.USER_EXIT (‘FND FLEXVALID’);
      Is used to capture code combination ID.

5)  SRW.USER_EXIT (‘FND FORMAT_CURRENCY’);
      Is used to format currency.

Where the five User Exits are used

In Before Report trigger
SRW.USER_EXIT (‘FND SRWINIT’);
SRW.USER_EXIT (‘FND FLEXSQL’);
SRW.USER_EXIT (‘FND FLEXVALID’);
SRW.USER_EXIT (‘FND FORMAT_CURRENCY’);

In After Report trigger
SRW.USER_EXIT (‘FND SRWEXIT’);

FND_LOAD

Download LDT Files using FND_LOAD based on Custom Selection:

Sometimes we have the requirement like we need to create hundreds of concurrent programs from one instance to another. One option is to download LDT files for each concurrent program. But we need to create 100 command to download and upload the file.

Here is the simple, you can do. Write the select query in SQL Developer and develop the script like that based on your selection.

SELECT 'FNDLOAD apps/ur_password O Y DOWNLOAD $FND_TOP/patch/115/import/afcpprog.lct '||A.CONCURRENT_PROGRAM_NAME||'.ldt PROGRAM APPLICATION_SHORT_NAME= "' 
       || B.APPLICATION_SHORT_NAME ||'"' || ' CONCURRENT_PROGRAM_NAME="'|| A.CONCURRENT_PROGRAM_NAME||'"'
FROM 
FND_CONCURRENT_PROGRAMS A, FND_APPLICATION B
WHERE 1=1
AND A.APPLICATION_ID = B.APPLICATION_ID
AND A.CONCURRENT_PROGRAM_NAME LIKE 'XX%'
AND B.APPLICATION_SHORT_NAME LIKE 'XX%';

Take all the rows and paste it in Notepad++ and change the file type to SH e.g. Sample_LDT_Files.sh.
Run that Shell script in Putty in your specified folder and it will download all the files to your folder.

Move the Files to your next instance and run the UPLAOD command in the same way in that instance.
It will create all the objects there :)

FND_LOAD commands:
FND in Oracle:
1. FND is short for “Foundation” which was the name Oracle initially wanted to use for the Application Object Library- the application with common components shared between all the other applications in the Oracle E-Business Suite.

Profile Options:

Source:
FNDLOAD apps/apps O Y DOWNLOAD $FND_TOP/patch/115/import/afscprof.lct XXPRNAME.ldt PROFILE PROFILE_NAME="XXPRNAME" APPLICATION_SHORT_NAME="PN"
Target:
1. FNDLOAD apps/apps O Y UPLOAD $FND_TOP/patch/115/import/afscprof.lct XXPRNAME.ldt
2. FNDLOAD apps/apps 0 Y UPLOAD_PARTIAL $FND_TOP/patch/115/import/afscprof.lct XXPRNAME.ldt PROFILE PROFILE_NAME=" XXPRNAME" APPLICATION_SHORT_NAME="PN"

Forms:

Source:
FNDLOAD apps/apps O Y DOWNLOAD $FND_TOP/patch/115/import/afsload.lct XXFRMNAME.ldt FORM APPLICATION_SHORT_NAME="PN" FORM_NAME="XXFRMNAME"
Target:
FNDLOAD apps/apps 0 Y UPLOAD @FND:patch/115/import/afsload.lct XXFRMNAME.ldt

Functions:

Source:
FNDLOAD apps/apps O Y DOWNLOAD $FND_TOP/patch/115/import/afsload.lct XXFUNNAME.ldt FUNCTION FUNC_APP_SHORT_NAME="PN" FUNCTION_NAME="XXFUNNAME"
Target:
FNDLOAD apps/apps O Y UPLOAD @FND:patch/115/import/afsload.lct XXFUNNAME.ldt

Menus:

Source:
FNDLOAD apps/apps O Y DOWNLOAD $FND_TOP/patch/115/import/afsload.lct XXMNNAME.ldt MENU MENU_NAME="XXMNNAME"
Target:
FNDLOAD apps/apps 0 Y UPLOAD @FND:patch/115/import/afsload.lct XXMNNAME.ldt

Responsibilities:

Source:
FNDLOAD apps/apps O Y DOWNLOAD $FND_TOP/patch/115/import/afscursp.lct XXRESNAME.ldt FND_RESPONSIBILITY RESP_KEY="XXRESNAME"
Target:
1. FNDLOAD apps/apps O Y UPLOAD $FND_TOP/patch/115/import/afscursp.lct XXRESNAME.ldt
2. FNDLOAD apps/apps 0 Y UPLOAD_PARTIAL $FND_TOP/patch/115/import/afscursp.lct XXRESNAME.ldt FND_RESPONSIBILITY RESP_KEY="XXRESNAME" APPLICATION_SHORT_NAME="PN"

Request Groups:

Source:
FNDLOAD apps/apps O Y DOWNLOAD $FND_TOP/patch/115/import/afcpreqg.lct XXRQGNAME.ldt REQUEST_GROUP REQUEST_GROUP_NAME="XXRQGNAME" APPLICATION_SHORT_NAME="PN"
Target:
1. FNDLOAD apps/apps O Y UPLOAD $FND_TOP/patch/115/import/afcpreqg.lct XXRQGNAME.ldt
2. FNDLOAD apps/apps 0 Y UPLOAD_PARTIAL $FND_TOP/patch/115/import/afcpreqg.lct XXRQGNAME.ldt REQUEST_GROUP REQUEST_GROUP_NAME="XXRQGNAME" APPLICATION_SHORT_NAME="PN"

Request Sets:

Source:
Step1:
FNDLOAD apps/apps 0 Y DOWNLOAD $FND_TOP/patch/115/import/afcprset.lct XXRQSNAME.ldt REQ_SET REQUEST_SET_NAME="XXRQSNAME"
Step2:
FNDLOAD apps/apps 0 Y DOWNLOAD $FND_TOP/patch/115/import/afcprset.lct XXRQSLNAME.ldt REQ_SET_LINKS REQUEST_SET_NAME="XXRQSNAME"

Target:

Step1:
FNDLOAD apps/apps 0 Y UPLOAD $FND_TOP/patch/115/import/afcprset.lct XXRQSNAME.ldt
Step2:
FNDLOAD apps/apps 0 Y UPLOAD $FND_TOP/patch/115/import/afcprset.lct XXRQSLNAME.ldt

Lookups:

Source:
FNDLOAD apps/apps O Y DOWNLOAD $FND_TOP/patch/115/import/aflvmlu.lct XXLKPNAME.ldt FND_LOOKUP_TYPE APPLICATION_SHORT_NAME="PN" LOOKUP_TYPE="XXLKPNAME"

Target:

1. FNDLOAD apps/apps 0 Y UPLOAD aflvmlu.lct XXLKPNAME.ldt
2. FNDLOAD apps/apps 0 Y UPLOAD_PARTIAL $FND_TOP/patch/115/import/aflvmlu.lct XXLKPNAME.ldt FND_LOOKUP_TYPE LOOKUP_TYPE="XXLKPNAME" APPLICATION_SHORT_NAME="PN"

Value Sets:

Source:
FNDLOAD apps/apps O Y DOWNLOAD $FND_TOP/patch/115/import/afffload.lct XXVALSNAME.ldt VALUE_SET FLEX_VALUE_SET_NAME="XXVALSNAME"
Target:
1. FNDLOAD apps/apps 0 Y UPLOAD afffload.lct XXVALSNAME.ldt
2. FNDLOAD apps/apps 0 Y UPLOAD_PARTIAL $FND_TOP/patch/115/import/afffload.lct XXVALSNAME.ldt VALUE_SET FLEX_VALUE_SET_NAME="XXVALSNAME" APPLICATION_SHORT_NAME="PN"

Descriptive Flex-fields:

Source:
FNDLOAD apps/apps O Y DOWNLOAD $FND_TOP/patch/115/import/afffload.lct XXDFFNAME.ldt DESC_FLEX P_LEVEL='COL_ALL:REF_ALL:CTX_ONE:SEG_ALL' APPLICATION_SHORT_NAME="PN" DESCRIPTIVE_FLEXFIELD_NAME="PN_LEASE_DETAILS" P_CONTEXT_CODE="Global Data Elements"
Target:
FNDLOAD apps/apps 0 Y UPLOAD @FND:patch/115/import/afffload.lct XXDFFNAME.ldt

Key Flex-fields:

Source:
FNDLOAD apps/apps O Y DOWNLOAD $FND_TOP/patch/115/import/afffload.lct XXKFFNAME.ldt KEY_FLEX P_LEVEL=’COL_ALL:FQL_ALL:SQL_ALL:STR_ONE:WFP_ALL:SHA_ALL:CVR_ALL:SEG_ALL’ APPLICATION_SHORT_NAME="FND" ID_FLEX_CODE="key flex code" P_STRUCTURE_CODE="structure name”
Target:
FNDLOAD apps/apps 0 Y UPLOAD @FND:patch/115/import/afffload.lct XXKFFNAME.ldt

Concurrent Programs:

Source:
FNDLOAD apps/apps O Y DOWNLOAD $FND_TOP/patch/115/import/afcpprog.lct XXCPNAME.ldt PROGRAM APPLICATION_SHORT_NAME="PN" CONCURRENT_PROGRAM_NAME="XXCPNAME"
Target:
1. FNDLOAD apps/apps 0 Y UPLOAD @FND:patch/115/import/afcpprog.lct XXCPNAME.ldt
2. FNDLOAD apps/apps 0 Y UPLOAD_PARTIAL $FND_TOP/patch/115/import/afcpprog.lct XXCPNAME.ldt PROGRAM CONCURRENT_PROGRAM_NAME="XXCPNAME" APPLICATION_SHORT_NAME="PN"

Form Personalization:
Source:
FNDLOAD apps/apps 0 Y DOWNLOAD $FND_TOP/patch/115/import/affrmcus.lct XXFPNAME.ldt FND_FORM_CUSTOM_RULES function_name="XXFPNAME"
Target:
FNDLOAD apps/apps 0 Y UPLOAD $FND_TOP/patch/115/import/affrmcus.lct XXFPNAME.ldt

FND Users:

Source:
FNDLOAD apps/apps 0 Y DOWNLOAD $FND_TOP/patch/115/import/afscursp.lct ./XXUSERNAME.ldt FND_USER USER_NAME='XXUSERNAME'
Target:
FNDLOAD apps/apps 0 Y UPLOAD $FND_TOP/patch/115/import/afscursp.lct ./ XXUSERNAME.ldt

Printer Styles:

Source:
FNDLOAD apps/apps O Y DOWNLOAD $FND_TOP/patch/115/import/afcppstl.lct XXPRSTYLE.ldt STYLE PRINTER_STYLE_NAME="XXPRSTYLE"

Target:
FNDLOAD apps/apps 0 Y UPLOAD $FND_TOP/patch/115/import/afcppstl.lct XXPRSTYLE.ldt


Some useful Meta-link Notes related to FNDLOAD:

1. For NLS Language using FNDLOAD:
Note: 434724.1
2. Troubleshooting Incorrect translation with FNDLOAD
Note: 299080.1

Note:
1. Test FNDLOAD commands multiple times in multiple instances before running into PROD instances.
2. UPLOAD_PARTIAL is used to modify existed programs.
3. Execution sequence is important ex: To create a responsibility  Create Form Create Function  Create Menu  Create Responsibility