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

Easytrive Redefine


IBM Mainframe Forums -> CA Products
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
vidyaa

New User


Joined: 02 May 2008
Posts: 77
Location: chennai

PostPosted: Mon Jun 19, 2017 6:01 pm
Reply with quote

Hi,

Am trying to redefine a file variable in easytrieve but it is not getting aligned properly

Ex: File 16 to 18 position I have the record 06A. Am defining as below

Code:

DEPT             16   3 A     HEADING ('DPT')     
DEPTMENT         16   2 A                         
DEPT-A1          18   1 A                         

but writing the output I should have

DEPT = 06A
DEPTMEN = 06
DEPT-A1 = A

Instead I have

DEPT = 06A
DEPTMEN = 06
DEPT-A1 = C --> this is the value from the second record which has 06C and takes the value from the next next record for tha DEPT-A1 alone instead of the same record.

Am not sure what is missing here where any redefine issue or some thing else.
Back to top
View user's profile Send private message
Benchwarmer

New User


Joined: 16 Jul 2016
Posts: 22
Location: desk

PostPosted: Tue Jun 20, 2017 12:55 am
Reply with quote

Your post does not provide enough information for others to help. Provide full code.

You may be bypassing the first record.
Back to top
View user's profile Send private message
vidyaa

New User


Joined: 02 May 2008
Posts: 77
Location: chennai

PostPosted: Wed Jun 21, 2017 11:51 am
Reply with quote

How to concatenate two fields in esytrive
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


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

PostPosted: Wed Jun 21, 2017 3:02 pm
Reply with quote

You are now asking a completely different question - a new topic should be started foa new question.

Also, you have not responded to the points raised by 'Benchwarmer'.
Back to top
View user's profile Send private message
Arun Raj

Moderator


Joined: 17 Oct 2006
Posts: 2481
Location: @my desk

PostPosted: Wed Jun 21, 2017 6:04 pm
Reply with quote

If you have figured out your original problem yourself, post it here for others' benefit.
If you have a completely different issue, start a new topic.
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 -> CA Products

 


Similar Topics
Topic Forum Replies
No new posts Redefine SYS1.PROCLIB JCL & VSAM 12
No new posts Redefine Numeric to Alphanumeric COBOL Programming 4
No new posts Initializing filler default value whe... COBOL Programming 6
No new posts please help how we can achive record ... CA Products 1
No new posts Multiple 400-byte redefine layouts &a... Compuware & Other Tools 14
Search our Forums:

Back to Top