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
 

 

File AID displaying two PICTURE clauses for one field

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Compuware & Other Tools
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    Post subject: File AID displaying two PICTURE clauses for one field
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

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7223

PostPosted: Thu Aug 18, 2011 4:15 pm    Post subject: Reply to: File AID displaying two PICTURE clauses for one fi
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    Post subject:
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: 7904
Location: Bellevue, IA

PostPosted: Thu Aug 18, 2011 5:08 pm    Post subject:
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    Post subject: Reply to: File AID displaying two PICTURE clauses for one fi
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: 1712
Location: UK

PostPosted: Thu Aug 18, 2011 6:27 pm    Post subject:
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    Post subject: Reply to: File AID displaying two PICTURE clauses for one fi
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    Post subject:
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    Post subject:
Reply with quote

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

Site Director


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

PostPosted: Fri Aug 19, 2011 1:54 am    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> Compuware & Other Tools 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