Quantcast
Channel: IBM Mainframe Computers Forums
Viewing all 8500 articles
Browse latest View live

CICS :: Partial color change of a field in CICS Screen.

$
0
0
Author: waseem0424
Subject: Partial color change of a field in CICS Screen.
Posted: Fri Sep 29, 2017 7:56 pm (GMT 5.5)

Hi!

I have a requirement to change some of the text in a variable in CICS. When I'm trying to pass color to Field attribute the whole field will change but I want only some of the text from that field to be highlighted with different color.

Ex: I have a variable of length 79 declared on a map. Data is gonna come from another system and Its length will be anything from 1 to 79. there is a text called Label in data which I want to highlight. other text in the same variable should remain Green. If Variable is declared as 79. I want to highlight 6 characters in that variable it may exist any where in that variable.

Input 1 : xxxxxxxxxxxxxLABELxXXXXXXX

Input 2 :XXXXXXXXXXXXXxasdaxxxxxxxxxxxxxxLABELXXXX

Is there any way to acheive this.. And I want to utilize the whole line without any space.


_________________
Thanks & Regards,
Syed Waseem


All Other Mainframe Topics :: RE: FTP Skip or ignore error and process other files

$
0
0
Author: AJAYREDDY
Subject: Reply to: FTP Skip or ignore error and process other files
Posted: Fri Sep 29, 2017 9:17 pm (GMT 5.5)

Thanks Nic. I think that is what we are going to do. I gave that one as example. We have around 70 files to split in different FTP steps LOL.
_________________
Ajay

CICS :: RE: Partial color change of a field in CICS Screen.

$
0
0
Author: prino
Posted: Fri Sep 29, 2017 10:29 pm (GMT 5.5)

Ah, another "requirement".

Who came up with it, some PHB, or you yourself ("which I want to highlight"), to fancify your output?

It's possible, but you'll have to overlay BMS maps on BMS maps.
_________________
Robert AH Prins
robert.ah.prins @ the.17+Gb.Google thingy
At last, a tiny bit of programming here... icon_smile.gif

Compuware & Other Tools :: RE: File Aid tool to compare numeric data

$
0
0
Author: balaji81_k
Posted: Sat Sep 30, 2017 1:45 am (GMT 5.5)

Hi Sergeyken,

Sorry for the delayed response. My bad i misunderstood the manual .
Any numeric data can be compared with BATCH JCL using FILE-AID provided they have specify the complete length or starting position of number actually needs to check . This will applicable only for variables declared as numeric PIC 9(n) . In my case i need to use simply



Code:

COPY IF(1,EQ,C'2017-09-29',
           11,GE,C'02')


Using "C" we can compare numeric data and specify full length if required or use the position exactly .
_________________
dear peoples,
i want to join these this group in order to
enrich my knowledge in mainframe.

All Other Mainframe Topics :: RE: FTP Skip or ignore error and process other files

$
0
0
Author: Nic Clouston
Posted: Sat Sep 30, 2017 3:35 am (GMT 5.5)

That should keep you busy - for abouit an hour.
_________________
Regards
Nic

CLIST & REXX :: RE: Rexx to execute spool commands

$
0
0
Author: Pedro
Subject: Reply to: Rexx to execute spool commands
Posted: Sat Sep 30, 2017 5:40 am (GMT 5.5)

You might also try a job message class where the output is deleted after the job runs.
_________________
Pedro Vera

CLIST & REXX :: RE: Rexx to execute spool commands

$
0
0
Author: steve-myers
Posted: Sat Sep 30, 2017 6:29 am (GMT 5.5)

The $DQ command does not display the SPOOL utilization of a single job. It displays the current SPOOL utilization of the system. I think you better crack open the z/OS JES2 Commands manual for your z/OS release.

Rather than use operator commands you'd be better off looking at the TGPct column in the SDSF job status output.

CLIST & REXX :: RE: Rexx to execute spool commands

$
0
0
Author: upendrasri
Posted: Sat Sep 30, 2017 6:57 am (GMT 5.5)

Hi Pedro,

Thank you. But what I need is through this Job am going to execute multiple commands (More than 1000) , Even If I delete the Job from spool , The commands processed by this job will there in spool. So I want to avoid them.

My requirement is : My Commands should be executed in background and those commands and outputs should not showed in spool.

Thanks!
_________________
Upen


CLIST & REXX :: RE: Rexx to execute spool commands

$
0
0
Author: upendrasri
Posted: Sat Sep 30, 2017 7:08 am (GMT 5.5)

Hi Steve,

Am issuing the below Jes command to know the Spool percentage occupied by a job in spool

/$DJQ 'JOBNAME',SPL

Here is an example.

/$DJQ 'TESTNEW1',SPL
£HASP890 JOB(TESTNEW1)
£HASP890 JOB(TESTNEW1) SPOOL=(VOLUMES=(IN1103,04,01,02),TGS=8,
£HASP890 PERCENT=0.0039)

In case if we get similar Result using TGPct column , Can you please assist me how to check Spool percentage used by single job using TGPct column?



Thanks!
_________________
Upen

CLIST & REXX :: RE: Rexx to execute spool commands

$
0
0
Author: Willy Jensen
Posted: Sat Sep 30, 2017 1:48 pm (GMT 5.5)

I don't think that you can avoid that command output is copied to spool when using SDSF batch.
_________________
WJ

CLIST & REXX :: RE: Rexx to execute spool commands

$
0
0
Author: Willy Jensen
Posted: Sat Sep 30, 2017 1:50 pm (GMT 5.5)

I strongly suggest that you look at the SDSF REXX API. With that you can avoid some of the displays.
_________________
WJ

CLIST & REXX :: RE: Rexx to execute spool commands

$
0
0
Author: upendrasri
Posted: Sat Sep 30, 2017 2:28 pm (GMT 5.5)

Hi Willy Jensen,

Okay. Is there anyway to know the spool percentage used by a single Job other than issuing Jes command?



Thanks!
_________________
Upen

CICS :: RE: Partial color change of a field in CICS Screen.

$
0
0
Author: waseem0424
Subject: Reply to: Partial color change of a field in CICS Screen.
Posted: Sat Sep 30, 2017 3:07 pm (GMT 5.5)

It is actually a requirement from business. I'm not able to display it through BMS MAp overlay as well because positions are not fixed they vary for different data .


My screen contains 17 Lines, Each of 79 character length. I have declared each line as a single variable and displaying the lines dynamically from cobol program as per the length of data. In this data there will b three labels which may come anywhere and I have to highlight them.
_________________
Thanks & Regards,
Syed Waseem

CICS :: RE: Partial color change of a field in CICS Screen.

$
0
0
Author: prino
Posted: Sat Sep 30, 2017 3:20 pm (GMT 5.5)

Your requirement is, and I'm pretty sure about that, impossible to fulfil without using multiple BMS maps. Unlike ISPF, CICS doesn't know the concept of shadow variables!
_________________
Robert AH Prins
robert.ah.prins @ the.17+Gb.Google thingy
At last, a tiny bit of programming here... icon_smile.gif

CLIST & REXX :: RE: Rexx to execute spool commands

$
0
0
Author: Willy Jensen
Posted: Sat Sep 30, 2017 3:22 pm (GMT 5.5)

Certainly. The STATUS display gives you the TGPCT amongst other info. Look in SDSF, if the information is shown on a screen, you can most likely get the same info from the REXX API. I know that TGPCT is available.
_________________
WJ


CICS :: RE: Partial color change of a field in CICS Screen.

$
0
0
Author: waseem0424
Posted: Sat Sep 30, 2017 3:40 pm (GMT 5.5)

Thank you Prino,

Is it possible to generate BMS Maps in Cobol program dynamically? If yes then how?
_________________
Thanks & Regards,
Syed Waseem

CLIST & REXX :: RE: Rexx to execute spool commands

$
0
0
Author: upendrasri
Posted: Sat Sep 30, 2017 3:46 pm (GMT 5.5)

Hi Willy Jensen,

Actually I have compare both Jes spool command TGPCT as below

TKSR 00000290 $DJQ 'TTSYTKSR',SPL
JOB63125 00000090 $HASP890 JOB(TTSYTKSR) 685
685 00000090 $HASP890 JOB(TTSYTKSR) SPOOL=(VOLUMES=(SPS101),TGS=1,
685 00000090 $HASP890 PERCENT=0.0019)


NP JOBNAME PrtDest SecLabel TGNum TGPct OrigNode ExecNode Devic
TTSYTKSR LOCAL 1 0.00 LOCAL LOCAL


For the Job TTSYTKSR From the Jes spool command spool percentage is : 0.0019

But for the same Job TGPCT showed as 0.00.

Not sure how to relate them. Tried reading manual but TGPCT information is not understandable to me.

Can you give me an example?

Thanks!
_________________
Upen

CLIST & REXX :: RE: Rexx to execute spool commands

$
0
0
Author: prino
Posted: Sat Sep 30, 2017 3:52 pm (GMT 5.5)

upendrasri wrote:

For the Job TTSYTKSR From the Jes spool command spool percentage is : 0.0019

But for the same Job TGPCT showed as 0.00.

Not sure how to relate them.

Sheesh, ever heard about rounding?
_________________
Robert AH Prins
robert.ah.prins @ the.17+Gb.Google thingy
At last, a tiny bit of programming here... icon_smile.gif

CLIST & REXX :: RE: Rexx to execute spool commands

$
0
0
Author: upendrasri
Posted: Sat Sep 30, 2017 3:57 pm (GMT 5.5)

Hi Prino,

Oh yeah got it but I want to know the actual spool percentage occupied by that particular Job?

Is there anyway to get the actual value rather than Rounding of TGPCT?

Thanks!
_________________
Upen

CICS :: RE: Partial color change of a field in CICS Screen.

$
0
0
Author: prino
Posted: Sat Sep 30, 2017 4:03 pm (GMT 5.5)

waseem0424 wrote:
Is it possible to generate BMS Maps in Cobol program dynamically? If yes then how?

BMS Maps are load modules, and you (general "you", not you you!) can generate them dynamically with a COBOL program (if COBOL supports RECFM=U), but you wouldn't be able to install them in CICS anyway.

Far more importantly, adding load modules dynamically to a production library would open a hole the size of a galaxy in the system integrity!
_________________
Robert AH Prins
robert.ah.prins @ the.17+Gb.Google thingy
At last, a tiny bit of programming here... icon_smile.gif

Viewing all 8500 articles
Browse latest View live