Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Difference with variable defined as S & W in easytrieve

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

New User


Joined: 06 Jul 2006
Posts: 31

PostPosted: Sun Apr 29, 2007 2:57 pm    Post subject: Difference with variable defined as S & W in easytrieve
Reply with quote

In easytrieve,is a variable is defined as S ,what that mean?
what is difference with the variable defined as W?
Back to top
View user's profile Send private message

William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3158
Location: Tucson AZ

PostPosted: Sun Apr 29, 2007 3:14 pm    Post subject:
Reply with quote

Coding a W or S establishes a working storage field. CA-Easytrieve/Plus spools W fields to report (work) files; it does not spool S fields.
Back to top
View user's profile Send private message
william51
Warnings : 1

New User


Joined: 06 Jul 2006
Posts: 31

PostPosted: Mon Apr 30, 2007 10:05 am    Post subject:
Reply with quote

I find that in Easytrieve reference,but i don't understand what that mean.
Is W and S only used in file?Is the S field will not added into the files?
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3158
Location: Tucson AZ

PostPosted: Mon Apr 30, 2007 12:24 pm    Post subject:
Reply with quote

william51 wrote:
I find that in Easytrieve reference,but i don't understand what that mean.
Is W and S only used in file?Is the S field will not added into the files?
The Reference Guide pointed to Chapter 11: Report Procedures: Report Procedures for an example. with the example there is this:
NOTE:
W FIELDS CONTAIN THEIR VALUE AT TIME OF PRINT STATEMENT.
S FIELDS CONTAIN THE LAST VALUE PLACED IN THE FIELD.
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 Difference in SORT & ICETOOL Mohan Kothakota DFSORT/ICETOOL 5 Fri Sep 22, 2017 4:56 pm
No new posts Moving values to a variable of copybo... Vignesh Sid COBOL Programming 6 Wed Sep 06, 2017 1:04 pm
No new posts Updating the Trailer count in variabl... satheshbabur DFSORT/ICETOOL 6 Wed Aug 30, 2017 9:49 pm
No new posts Move from Comp3 variable to Edited Va... sreekusr COBOL Programming 8 Thu Aug 10, 2017 4:20 pm
No new posts UNIT=AFF for Easytrieve code gandikk JCL & VSAM 7 Wed Jul 12, 2017 11:42 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us