You can use the DFHPHN macro to perform phonetic conversion of 16-character names ( the DFHPHN macro is no longer supported). The result is a 4-byte phonetic equivalent. DFHPHN is supplied in CICSTS31.CICS.SDFHLOAD. For online code, DFHPHN takes the following parameters:
For example;
Language Command
COBOL CALL 'DFHPHN' USING lang name phon.
C/370 In the program prior to the main()[ statement, code:
#pragma linkage(DFHPHN,OS)
void DFHPHN();
In the program AFTER the main(){ statement, code:
DFHPHN(lang,name,phon);
PL/I CALL DFHPHN (lang,name,phon);
Assembler CALL DFHPHN,(lang,name,phon)
The phonetic code conversion subroutine (DFHPHN) also assists you to load and access data sets offline. The steps in creating such a data set would typically be: