IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Compile Problems


IBM Mainframe Forums -> PL/I & Assembler
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
aripallig

New User


Joined: 05 Jul 2005
Posts: 23
Location: india

PostPosted: Wed Jul 15, 2009 4:46 pm
Reply with quote

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
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Wed Jul 15, 2009 4:56 pm
Reply with quote

not that difficult

start from
www-03.ibm.com/systems/z/os/zos/bkserv/index.html#other_pubs

proceed to
z/OS software products (Book)
www-03.ibm.com/systems/z/os/zos/bkserv/zapplsbooks.html

and... to
z/OS software products: DB2 V7 - NCP V7R7 bookshelf - 492 books
(List all bookshelves)
www-03.ibm.com/systems/z/os/zos/bkserv/zappls2.html

and... to
Enterprise PL/I for z/OS V3R6 - 4 books
(List books)
publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/Shelves/IBMSH350
Back to top
View user's profile Send private message
aripallig

New User


Joined: 05 Jul 2005
Posts: 23
Location: india

PostPosted: Wed Jul 15, 2009 9:13 pm
Reply with quote

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
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Wed Jul 15, 2009 9:18 pm
Reply with quote

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
View user's profile Send private message
murugan_mf

Active User


Joined: 31 Jan 2008
Posts: 148
Location: Chennai, India

PostPosted: Wed Jul 15, 2009 9:48 pm
Reply with quote

You need to give PP(MACRO) as your pre-compile option
Back to top
View user's profile Send private message
aripallig

New User


Joined: 05 Jul 2005
Posts: 23
Location: india

PostPosted: Thu Jul 16, 2009 3:49 pm
Reply with quote

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
View user's profile Send private message
aripallig

New User


Joined: 05 Jul 2005
Posts: 23
Location: india

PostPosted: Thu Jul 16, 2009 3:49 pm
Reply with quote

Thanks Murugan it worked
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> PL/I & Assembler

 


Similar Topics
Topic Forum Replies
No new posts Compile Several JCL JOB Through one r... CLIST & REXX 4
No new posts Compile rexx code with jcl CLIST & REXX 6
No new posts C Compile time time stamps Java & MQSeries 10
No new posts C++ problems Java & MQSeries 3
This topic is locked: you cannot edit posts or make replies. How To Write, Compile and Execute Cob... COBOL Programming 5
Search our Forums:

Back to Top