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
 

 

Wrong row numbers when uploaded a txt format file

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
JennyMo

New User


Joined: 31 Mar 2008
Posts: 6
Location: Shanghai

PostPosted: Mon Mar 31, 2008 2:37 pm    Post subject: Wrong row numbers when uploaded a txt format file
Reply with quote

When upload a txt format file, the row number shows not correct there.
I want to know how to config it to show the correct row number. Could anyone give me any solution to fix that? Thank you.

Attached is screen capture of the problem.

The txt file is like below:

Code:
060386058JLWHITAKER     01060803010837590003300330-072600000000     0000
118528975RENEHREBECKI   01060803010837590003300297-072600000000     0000
136408732EMFRINK        010608030108 7590003300297-072600000000     0000
137587531JMBARTLING     01060803010837590003300297-072600000000     0000
152644948J BENJAMIN     01060803010837590003300297-072600000000     0000
152766004TJSILVEY       01060803010837590003300297-072600000000     0000
153683659SDALT          01060803010837920003300297-075900000000     0000
156508014MCWYNN         01060803010837590003300297-072600000000     0000
Back to top
View user's profile Send private message

shrivatsa
Warnings : 1

Active User


Joined: 17 Mar 2006
Posts: 171
Location: Bangalore

PostPosted: Mon Mar 31, 2008 2:44 pm    Post subject: Reply to: Wrong row numbers when uploaded a txt format file
Reply with quote

The difference I found is NUMBER DIS STD

Make it as
Code:
NUMBER OFF
Back to top
View user's profile Send private message
JennyMo

New User


Joined: 31 Mar 2008
Posts: 6
Location: Shanghai

PostPosted: Mon Mar 31, 2008 2:56 pm    Post subject:
Reply with quote

It works, Thank you, shrivatsa.
Back to top
View user's profile Send private message
JennyMo

New User


Joined: 31 Mar 2008
Posts: 6
Location: Shanghai

PostPosted: Mon Mar 31, 2008 3:11 pm    Post subject:
Reply with quote

There is still a problem.
When I view or edit that file again, the problem occurs again.
You see, I have saved the profile setting already. It is shows 'Number On STD' there. When I change it to "Number off", it works and shows the row num again.

Is there any permanent solution to fix that?


Code:
 ****** ***************************** Top of Data ******************************
 =PROF> ....TEST (VARIABLE - 129)....RECOVERY OFF WARN....NUMBER ON STD.........
 =PROF> ....CAPS ON....HEX OFF....NULLS ON STD....TABS OFF......................
 =PROF> ....AUTOSAVE ON....AUTONUM OFF....AUTOLIST OFF....STATS OFF.............
 =PROF> ....PROFILE UNLOCK....IMACRO NONE....PACK OFF....NOTE ON................
 =PROF> ....HILITE OFF CURSOR FIND..............................................
 ==MSG> -Warning- The UNDO command is not available until you change           
 ==MSG>           your edit profile using the command RECOVERY ON.             
 038605 8JLWHITAKER     01060803010837590003300330-072600000000     0000       
 852897 5RENEHREBECKI   01060803010837590003300297-072600000000     0000
Back to top
View user's profile Send private message
Gnanas N

Active Member


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

PostPosted: Mon Mar 31, 2008 3:17 pm    Post subject:
Reply with quote

Is this PS or a member of PDS?
Back to top
View user's profile Send private message
JennyMo

New User


Joined: 31 Mar 2008
Posts: 6
Location: Shanghai

PostPosted: Mon Mar 31, 2008 3:20 pm    Post subject:
Reply with quote

This is PS.
Back to top
View user's profile Send private message
shrivatsa
Warnings : 1

Active User


Joined: 17 Mar 2006
Posts: 171
Location: Bangalore

PostPosted: Mon Mar 31, 2008 3:29 pm    Post subject: Reply to: Wrong row numbers when uploaded a txt format file
Reply with quote

First you need to create your PS and then do NUMBER OFF then upload your txt file to it and check whether its working or not?
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Mon Mar 31, 2008 4:45 pm    Post subject:
Reply with quote

try LOCKing your profile.
Back to top
View user's profile Send private message
JennyMo

New User


Joined: 31 Mar 2008
Posts: 6
Location: Shanghai

PostPosted: Tue Apr 01, 2008 8:30 am    Post subject:
Reply with quote

shrivatsa,

It doesn't work.


dbzTHEdinosauer,

Still not work.


Any other ideas?
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2150
Location: At my coffee table

PostPosted: Tue Apr 01, 2008 8:57 am    Post subject:
Reply with quote

JennyMo wrote:
shrivatsa,
It doesn't work.

dbzTHEdinosauer,
Still not work.

Any other ideas?
JennyMo,
Please define "It doesn't work".....
Back to top
View user's profile Send private message
JennyMo

New User


Joined: 31 Mar 2008
Posts: 6
Location: Shanghai

PostPosted: Tue Apr 01, 2008 1:51 pm    Post subject:
Reply with quote

I change profile setting to "Number off", save and profile lock. Exit that file.

When I view or edit that file again, it changed into "Number on STD" automatically.

****** ***************************** Top of Data ***********************
==MSG> -CAUTION- Profile changed to NUMBER ON STD (from NUMBER OFF).
==MSG> Data has valid standard numbers.
==MSG> -Warning- The UNDO command is not available until you change
==MSG> your edit profile using the command RECOVERY ON.
038605 8JLWHITAKER 01060803010837590003300330-072600000000 0000
852897 5RENEHREBECKI 01060803010837590003300297-072600000000 0000
640873 2EMFRINK 010608030108 7590003300297-072600000000 0000
Back to top
View user's profile Send private message
UmeySan

Active Member


Joined: 22 Aug 2006
Posts: 743
Location: Germany

PostPosted: Tue Apr 01, 2008 3:39 pm    Post subject:
Reply with quote

Hi Jenny !

==MSG> Data has valid standard numbers !!!

I did a little test. So here's a one-time-solution, let's see:

=PROF> ....TEXTXX (FIXED - 80)....NUMBER ON STD
=PROF> ....CAPS ON....HEX OFF....NULLS ON STD....TABS OFF
=PROF> ....HILITE OFF CURSOR FIND...................................

000100 000100THIS IS A LINE IN A PS WITH FB-80
000200 000200THIS IS A LINE IN A PS WITH FB-80
000300 000300THIS IS A LINE IN A PS WITH FB-80
000400 000400THIS IS A LINE IN A PS WITH FB-80

This PS-File looks quiet similar to your's, i think.
Change to number off and then shift the first six chars, or what you need, to the left to elininate them from the data-area.

=PROF> ....TEXTXX (FIXED - 80)....NUMBER OFF
=PROF> ....CAPS ON....HEX OFF....NULLS ON STD....TABS OFF
=PROF> ....HILITE OFF CURSOR FIND...................................

((6100 000100THIS IS A LINE IN A PS WITH FB-80
000200 000200THIS IS A LINE IN A PS WITH FB-80
000300 000300THIS IS A LINE IN A PS WITH FB-80
((6400 000400THIS IS A LINE IN A PS WITH FB-80

Save/Pf3 and re-edit the file

=PROF> ....TEXTXX (FIXED - 80)....NUMBER OFF
=PROF> ....CAPS ON....HEX OFF....NULLS ON STD....TABS OFF
=PROF> ....HILITE OFF CURSOR FIND...................................

000001 THIS IS A LINE IN A PS WITH FB-80
000002 THIS IS A LINE IN A PS WITH FB-80
000003 THIS IS A LINE IN A PS WITH FB-80
000004 THIS IS A LINE IN A PS WITH FB-80

Hope, this helps to get quickly rid of theese lousy numbers.

Regards, UmeySan
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Tue Apr 01, 2008 6:16 pm    Post subject: Reply to: Wrong row numbers when uploaded a txt format file
Reply with quote

Remember also that ... for VB datasets NUMBER ON will f**k up the first 8 bytes of the line ....
Back to top
View user's profile Send private message
snammi

New User


Joined: 18 Mar 2009
Posts: 11
Location: Bangalore

PostPosted: Fri Sep 09, 2011 3:22 pm    Post subject: Reply to: Wrong row numbers when uploaded a txt format file
Reply with quote

Hi,
I am facing exactly similar problem. I tried all the solutions mentioned in this thread.. none worked icon_sad.gif icon_sad.gif .... could you please suggest me how to get rid of NUM ON STD profile setting permanently.. plz help!!
Regards,
Supriya
Back to top
View user's profile Send private message
Phrzby Phil

Active Member


Joined: 31 Oct 2006
Posts: 961
Location: Richmond, Virginia

PostPosted: Fri Sep 09, 2011 5:20 pm    Post subject:
Reply with quote

After setting NUM OFF, then clear the numbers and save.

When you leave the numbers, it sees them next time and resets.
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 -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm
No new posts File Aid to File Manager conversion murali3955 IBM Tools 4 Thu Nov 24, 2016 3:41 pm
No new posts How to convert the VBM file to VB or... Sulabh Agrawal JCL & VSAM 4 Fri Nov 18, 2016 1:04 pm
No new posts CICS Roll back partially - Need to re... dwijadas CICS 4 Wed Nov 16, 2016 4:30 pm
No new posts Problem in writing Output file vickey_dw COBOL Programming 5 Mon Nov 14, 2016 11:14 pm


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