View previous topic :: View next topic
|
Author |
Message |
aripallig
New User
Joined: 05 Jul 2005 Posts: 23 Location: india
|
|
|
|
Hi All,
I am new to PL/1, and currently working in upgradation Pl/1 to
IBM(R) Enterprise PL/I for z/OS V3.R6.M0 (Built:20081021)
While compiling i am getting below errors.
i dodn't have this release manual also with me.
could some help me what need to be to over come this probelm, and if possible please provide me the manual for this release.
IBM1746I S 117.0 VALUE and STATIC INITIAL expressions must be constant.
IBM1425I E 120.0 There is no compiler directive %DCL. Input up to the next semicolon will be ignored.
IBM1425I E 121.0 There is no compiler directive %CMP_G. Input up to the next semicolon will be ignored.
IBM1425I E 123.0 There is no compiler directive %DEACT. Input up to the next semicolon will be ignored.
Thank You,
Girish |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
Back to top |
|
|
aripallig
New User
Joined: 05 Jul 2005 Posts: 23 Location: india
|
|
|
|
Hi,
Thanks for the information, But sorry to say as i am doing this first time i didn't uderstand where to give compiler directive options.
My actual code where it is showing error is
DCL 1 WC00_TITLE STATIC, /* TITLE CONTAINS PROGRAM INFO */
5 PROGR CHAR(06) INIT('GIA98E'),
5 DATOR CHAR(06),
%DCL CMP_G CHAR; <<<<<<<<<ERROR>>>>>>
%CMP_G = ''''||COMPILETIME||''''; <<<<ERROR>>>>>
5 DATGN CHAR(18) INIT(CMP_G),
%DEACT CMP_G; <<<<ERROR>>>>>
5 USERCO CHAR(06) INIT('XXXXX');
at these places it is showing as error. Could you please help me which compiler option do i need to user for just to compile the program.
Thanks,
Girish |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
what about asking Your support ...
they certainly have read the conversion guidelines
and when they have installed the product have also properly customized the compiler options
and provided everybody a how to document for the new environment
but as a general hint the options have not changed that much,
try using the same options You were using for the previous version
%DCL,%DEACT are preprocessor macro statements
looks like the MACRO option was not specified,
but without looking at the compiler listing nobody can tell
poor planning,testing,support
usually any decent support group when installing a new compiler
run some compile test for some real programs for different environments
batch, batch db2/ims , cics, cics db2/ims
in order to verify that everything works and to provide updated docs and...
most important appropriate procedures |
|
Back to top |
|
|
murugan_mf
Active User
Joined: 31 Jan 2008 Posts: 148 Location: Chennai, India
|
|
|
|
You need to give PP(MACRO) as your pre-compile option |
|
Back to top |
|
|
aripallig
New User
Joined: 05 Jul 2005 Posts: 23 Location: india
|
|
|
|
Hi,
Thanks when i mentioned MACRO as the Compiler option it went file.
In the current compiler options it was NOMACRO.
Thanks
Girish |
|
Back to top |
|
|
aripallig
New User
Joined: 05 Jul 2005 Posts: 23 Location: india
|
|
|
|
Thanks Murugan it worked |
|
Back to top |
|
|
|