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

File AID displaying two PICTURE clauses for one field


IBM Mainframe Forums -> Compuware & Other Tools
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
ganna_f16

New User


Joined: 07 Mar 2005
Posts: 17
Location: India

PostPosted: Thu Aug 18, 2011 2:53 pm
Reply with quote

Copy book layout is
01 DETAIL-RECORD.
05 C PIC X(05).
05 L PIC 9(01).
05 Y PIC 9(04).
05 LAC PIC X(03).
05 FLIC PIC S9(09) COMP.
05 DT PIC X(08).
05 VOL PIC S9(07).
05 XXX PIC X(01).
05 YYY-DT PIC X(08).
05 ZZZT-DT PIC X(08).
05 FILLER PIC X(31).

When used the same in file AID.

---- FIELD NUMBER/NAME ------ PICTURE- ----+----1----+----2----+----3----+----4
1 C X(5) BA03A
2 L 9 1
3 Y 9(4) 2012
4 LC XXX CPH
5 VLC S9(9) 5342
6 DT X(8) 20120301
7 VOL DISPLAY 000043A
S9(7) 431

8 XXX X U
9 YYY-DT X(8)
10 ZZZT-DT X(8)
11 FILLER X(31)


Any one could you please explain why Fileaid displayed in DISPLAY PICTURE Clause for VOL field

Thank you
Back to top
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Thu Aug 18, 2011 4:15 pm
Reply with quote

Well, it is showing you that you have 43A, which is 431 with a positive sign (overpunched). It is also showing the absolute value, 431. Why, I don't know. I don't even know why the datanames you are showing don't match up.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


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

PostPosted: Thu Aug 18, 2011 4:52 pm
Reply with quote

stop keying in the data,
you are not accurate
cut & paste,
use code tags,
use preview


you post is too difficult for me to read - i am old and lazy
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Thu Aug 18, 2011 5:08 pm
Reply with quote

Have you asked the vendor your question? If your site is licensed to use File Aid, you can open an issue with Compuware.
Back to top
View user's profile Send private message
ganna_f16

New User


Joined: 07 Mar 2005
Posts: 17
Location: India

PostPosted: Thu Aug 18, 2011 5:53 pm
Reply with quote

Hi,
Apology for difficult code format.

I am attaching the same in word document as the paste is changing the format.

Thanks,
Ganna
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 2455
Location: Hampshire, UK

PostPosted: Thu Aug 18, 2011 6:27 pm
Reply with quote

I don't touch attachments so it is pointless as far as I am concerned. Everyone else seems to manage to cut'n'paste and use code tags so what is different for you?
Back to top
View user's profile Send private message
ganna_f16

New User


Joined: 07 Mar 2005
Posts: 17
Location: India

PostPosted: Thu Aug 18, 2011 8:34 pm
Reply with quote

Hi Nic,
Please fidn details below..

Code:
---- FIELD NUMBER/NAME ------ PICTURE- ----+----1----+----2----+----3----+----4
1 C                           X(5)     AP03A                                   
2 L                           9        1                                       
3 Y                           9(4)     2010                                   
4 LC                          XXX      CPH                                     
5 VLC                         S9(9)    8004                                   
6 DT                          X(8)     20100301                               
7 VOL                          DISPLAY 000043A                                 
                              S9(7)    431                                     
8 XXX                         X        U                                       
9 YYY-DT                      X(8)                                             
10 ZZZT-DT                    X(8)                                             
11 FILLER                     X(31)   

Thank you
Back to top
View user's profile Send private message
Craq Giegerich

Senior Member


Joined: 19 May 2007
Posts: 1512
Location: Virginia, USA

PostPosted: Thu Aug 18, 2011 8:43 pm
Reply with quote

Why are the field names different than the field names you show in the copy book?

05 FLIC PIC S9(09) COMP. and 5 VLC S9(9) 5342 and others!
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


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

PostPosted: Thu Aug 18, 2011 10:11 pm
Reply with quote

and learn to use BBcode and the preview button.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Aug 19, 2011 1:54 am
Reply with quote

Hi Ganna,

I noticed that you attempted to "Code" your post. I've put the Code tags where you intended.

One way to get them where you want them is to copy/paste the info from the screen, hightlight this, then click Code.

Preview to ensure you got what you wanted.
Back to top
View user's profile Send private message
Ed Goodman

Active Member


Joined: 08 Jun 2011
Posts: 556
Location: USA

PostPosted: Fri Aug 19, 2011 2:25 am
Reply with quote

From my old Fileaid manual:
Code:
PICTURE (P) :Displays a representation of the original data declaration for each
elementary item, and changes the heading of the Field Description area to PICTURE.
The current field format can be modified with the Data Format Specification Syntax
of the DISPLAY command. When this command is issued, the data in the Field Value
area is reformatted, and the format displayed in the Field Description area is changed
to reflect the revised format.
The information in the Field Description area is intended to accurately represent the
data declaration (within the constraints of the column width). Therefore, the
information displayed with the PICTURE parameter varies, depending on the
language used to define record layouts.


So it's doing its best to try and tell you how the field is defined. You can change that whole column using the "SHOW" command.
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 -> Compuware & Other Tools

 


Similar Topics
Topic Forum Replies
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 4
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
Search our Forums:

Back to Top