Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Compile Problems

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler
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    Post subject: Compile Problems
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10256
Location: italy

PostPosted: Wed Jul 15, 2009 4:56 pm    Post subject: Reply to: Compile Problems
Reply with quote

not that difficult

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

proceed to
z/OS software products (Book)
http://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)
http://www-03.ibm.com/systems/z/os/zos/bkserv/zappls2.html

and... to
Enterprise PL/I for z/OS V3R6 - 4 books
(List books)
http://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    Post subject: Re: Reply to: Compile Problems
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10256
Location: italy

PostPosted: Wed Jul 15, 2009 9:18 pm    Post subject: Reply to: Compile Problems
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    Post subject:
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    Post subject: Re: Reply to: Compile Problems
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts OO COBOL compile error Virendra Shambharkar COBOL Programming 3 Tue Jan 10, 2017 6:05 pm
No new posts I can not compile my program PL1 V3.R... Miguel Fernandez PL/I & Assembler 13 Tue Dec 06, 2016 8:30 pm
No new posts COBOL 5 Compile oerdgie COBOL Programming 3 Thu Oct 06, 2016 6:14 pm
No new posts compile and link program in 6.1 brigitte pruett COBOL Programming 3 Tue Aug 16, 2016 12:09 am
No new posts Problems in File-Aid / DB2 Spufi whil... amitc23 CLIST & REXX 6 Fri Feb 12, 2016 1:59 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us