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

NUM ON STD for PL/1 source


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

Active Member


Joined: 06 Sep 2007
Posts: 792
Location: Chennai, India

PostPosted: Thu Dec 13, 2007 2:02 pm
Reply with quote

Hi all,
I have written PL/1 program. But it is padded with one more LINE numbers.

How to solve this?

Code:
Command ===>                                       
****** ***************************** Top of Data **
000100 000100E:PROC OPTIONS(MAIN);                 
000200 000200ILE WRITE */                         
000300 000300 SYSIN       FILE RECORD;             
000400 000400 EMPFL       FILE RECORD;             
000500 000500 MOREREC     BIT(01) INIT('1'B);     
000600 000600 NO          BIT(01) INIT('0'B);     
000700 000700 TOTALREC    PIC '99' INIT(00);       
000800 000800 01 EMPST,       


Profile options here are

Code:
....SOURCE (FIXED - 80)....RECOVERY ON....NUMBER ON STD.................
 ....CAPS ON....HEX OFF....NULLS ON STD....TABS OFF....SETUNDO STG.......
 ....AUTOSAVE ON....AUTONUM OFF....AUTOLIST OFF....STATS ON..............
 ....PROFILE UNLOCK....IMACRO NONE....PACK OFF....NOTE ON................
 ....HILITE PLI CURSOR FIND MARGINS(2,72)................................   
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu Dec 13, 2007 6:33 pm
Reply with quote

the number structure is what You get with "NUMB ON COBOL"
as You can see the source has sequence numbers on the first 6 columns..

So after setting the Number status You will have to retype a few things..

the profiles in ISPF are managed by the last qualifier of the dataset ..

so if the last qualifier is cobol NUMBER on, RENUM, Unnum will thing that
the sources are cobol and number/unnumber will junk/unjunk the first 6 chard of Your
sources
Back to top
View user's profile Send private message
rajatbagga

Active User


Joined: 11 Mar 2007
Posts: 199
Location: india

PostPosted: Thu Dec 20, 2007 1:32 pm
Reply with quote

Hi,

if you look at profile options that you provided there you can see NUMBER ON in first rowmake it NUMBER OFF and then see if it solves your problem
Back to top
View user's profile Send private message
Gnanas N

Active Member


Joined: 06 Sep 2007
Posts: 792
Location: Chennai, India

PostPosted: Thu Dec 20, 2007 2:59 pm
Reply with quote

Hello,
NUM OFF also didn't solve my problem.


Code:

Command ===>                                                  Scroll ===> CSR 
****** ***************************** Top of Data ******************************
=PROF> ....SOURCE (FIXED - 80)....RECOVERY OFF....NUMBER OFF...................
=PROF> ....CAPS ON....HEX OFF....NULLS OFF....TABS OFF....SETUNDO STG..........
=PROF> ....AUTOSAVE ON....AUTONUM OFF....AUTOLIST OFF....STATS ON..............
=PROF> ....PROFILE UNLOCK....IMACRO NONE....PACK OFF....NOTE ON................
=PROF> ....HILITE COBOL CURSOR FIND............................................
000001 000100E:PROC OPTIONS(MAIN);                                             
000002 000200ILE WRITE */                                                     
000003 000300 SYSIN       FILE RECORD;                                         
000004 000400 EMPFL       FILE RECORD;                                         
000005 000500 MOREREC     BIT(01) INIT('1'B);                                 
000006 000600 NO          BIT(01) INIT('0'B);                                 
000007 000700 TOTALREC    PIC '99' INIT(00);                                   
000008 000800 01 EMPST,     
Back to top
View user's profile Send private message
Gnanas N

Active Member


Joined: 06 Sep 2007
Posts: 792
Location: Chennai, India

PostPosted: Wed Dec 26, 2007 6:38 pm
Reply with quote

Hello all,

Could any one help me to resolve this issue?
Back to top
View user's profile Send private message
Srihari Gonugunta

Active User


Joined: 14 Sep 2007
Posts: 295
Location: Singapore

PostPosted: Wed Dec 26, 2007 6:53 pm
Reply with quote

Gnanas,
Have you tried UNNUM
Back to top
View user's profile Send private message
Gnanas N

Active Member


Joined: 06 Sep 2007
Posts: 792
Location: Chennai, India

PostPosted: Wed Dec 26, 2007 7:49 pm
Reply with quote

Srihari,
Quote:
Have you tried UNNUM

It didn't work.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Wed Dec 26, 2007 8:04 pm
Reply with quote

from the profile NUMBER is OFF
so RENUM,UNNUM will have no effect

try issuing "NUMBER ON" or "NUMBER STD"
and then "RENUM;UNNUM;NUMBER OFF"
and see what happens
Back to top
View user's profile Send private message
Gnanas N

Active Member


Joined: 06 Sep 2007
Posts: 792
Location: Chennai, India

PostPosted: Wed Dec 26, 2007 9:41 pm
Reply with quote

Enrico,
Quote:
try issuing "NUMBER ON" or "NUMBER STD"
and then "RENUM;UNNUM;NUMBER OFF"
and see what happens


It didn't work in that member. All other members newly created in that PDS are okay.
Back to top
View user's profile Send private message
Gnanas N

Active Member


Joined: 06 Sep 2007
Posts: 792
Location: Chennai, India

PostPosted: Thu Dec 27, 2007 10:31 am
Reply with quote

Hi all,

Could anyone tell me what is the correct Profile Options for PL/1???

For COBOL, NUM STD COB is needed, Right?
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 Discrepancy between source code and o... COBOL Programming 7
No new posts Best way to Capture Auth ID of the so... COBOL Programming 1
No new posts Open source project on mainframe General Talk & Fun Stuff 3
No new posts LIST NODE DIRECTORY - db2 clp - tryin... IBM Tools 1
No new posts How to Extract BMS Marco Source from ... CICS 5
Search our Forums:

Back to Top