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
 

 

How check for Not equal & how to define variable file(VB

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products
View previous topic :: :: View next topic  
Author Message
ravikanth

New User


Joined: 12 Jan 2006
Posts: 29

PostPosted: Mon Dec 10, 2007 5:07 am    Post subject: How check for Not equal & how to define variable file(VB
Reply with quote

Hello EveryOne,

1.In Easytrieve How do we check for Not equal to between two fields.
For example when i tried A != B & A Not Equal B. It gave me a return code 16.
Also is A < B a valid statement in easytrieve?
2. In Easytrieve, How do i define a file whose RECFM=VB
I know if the LRECL is 100 in the program it should be defined with 96.
Will it work if i dont give any specific like V/VB in the file definition.

Ravikanth Chavali
Back to top
View user's profile Send private message

murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1439
Location: Bangalore,India

PostPosted: Mon Dec 10, 2007 8:42 am    Post subject:
Reply with quote

Ravi,
Quote:
In Easytrieve How do we check for Not equal to between two fields

Use '¬=' for NE.

Quote:
Also is A < B a valid statement in easytrieve?

Yes (eg. in 'if' cond).

Quote:
In Easytrieve, How do i define a file whose RECFM=VB
I know if the LRECL is 100 in the program it should be defined with 96.
Will it work if i dont give any specific like V/VB in the file definition.

Your question is not clear. But, I assume you wanted to create VB file. Go through the FILE statement for VB file declaration.

Please 'rework' on easytreive basics.
Back to top
View user's profile Send private message
ravikanth

New User


Joined: 12 Jan 2006
Posts: 29

PostPosted: Mon Dec 10, 2007 8:51 am    Post subject:
Reply with quote

Hello Murali

Thanks a lot.

About my second question.

I have to Read a (RECFM=VB) Variable file(INFILE) and
Write into another (RECFM=VB) Variable file(OUTFILE), having same file definition.

I tried my best to get how this should be done but i was not able to get any info. Could please assist me

Thanks you,
Ravikanth Chavali
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 -> CA Products All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 pm
No new posts Copy RECFM =VB TO FB file with RECL =... sahil41352 DFSORT/ICETOOL 3 Wed Dec 28, 2016 11:29 pm
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 What is the command to check MODE of ... rohanthengal CLIST & REXX 7 Fri Nov 18, 2016 1:48 pm


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